pub struct Validation {
pub flags: u32,
pub ledger_sequence: u32,
pub signing_time: u32,
pub ledger_hash: [u8; 32],
pub consensus_hash: Option<[u8; 32]>,
pub validated_hash: Option<[u8; 32]>,
pub cookie: Option<u64>,
pub server_version: Option<u64>,
pub amendments: Vec<[u8; 32]>,
pub signing_pub_key: Vec<u8>,
pub signature: Vec<u8>,
/* private fields */
}Fields§
§flags: u32§ledger_sequence: u32§signing_time: u32Signing time, seconds since the XRPL epoch (2000-01-01).
ledger_hash: [u8; 32]§consensus_hash: Option<[u8; 32]>§validated_hash: Option<[u8; 32]>§server_version: Option<u64>§amendments: Vec<[u8; 32]>Amendments the validator votes for (only in flag ledgers).
signing_pub_key: Vec<u8>§signature: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for Validation
impl Clone for Validation
Source§fn clone(&self) -> Validation
fn clone(&self) -> Validation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Validation
impl Debug for Validation
impl Eq for Validation
Source§impl PartialEq for Validation
impl PartialEq for Validation
impl StructuralPartialEq for Validation
Auto Trait Implementations§
impl Freeze for Validation
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnsafeUnpin for Validation
impl UnwindSafe for Validation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more