Struct soroban_env_guest::xdr::LedgerHeader
[−]pub struct LedgerHeader {Show 15 fields
pub ledger_version: u32,
pub previous_ledger_hash: Hash,
pub scp_value: StellarValue,
pub tx_set_result_hash: Hash,
pub bucket_list_hash: Hash,
pub ledger_seq: u32,
pub total_coins: i64,
pub fee_pool: i64,
pub inflation_seq: u32,
pub id_pool: u64,
pub base_fee: u32,
pub base_reserve: u32,
pub max_tx_set_size: u32,
pub skip_list: [Hash; 4],
pub ext: LedgerHeaderExt,
}Fields
ledger_version: u32previous_ledger_hash: Hashscp_value: StellarValuetx_set_result_hash: Hashbucket_list_hash: Hashledger_seq: u32total_coins: i64fee_pool: i64inflation_seq: u32id_pool: u64base_fee: u32base_reserve: u32max_tx_set_size: u32skip_list: [Hash; 4]ext: LedgerHeaderExtTrait Implementations
impl Clone for LedgerHeader
impl Clone for LedgerHeader
fn clone(&self) -> LedgerHeader
fn clone(&self) -> LedgerHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Debug for LedgerHeader
impl Debug for LedgerHeader
impl Hash for LedgerHeader
impl Hash for LedgerHeader
impl Ord for LedgerHeader
impl Ord for LedgerHeader
fn cmp(&self, other: &LedgerHeader) -> Ordering
fn cmp(&self, other: &LedgerHeader) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<LedgerHeader> for LedgerHeader
impl PartialEq<LedgerHeader> for LedgerHeader
fn eq(&self, other: &LedgerHeader) -> bool
fn eq(&self, other: &LedgerHeader) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &LedgerHeader) -> bool
fn ne(&self, other: &LedgerHeader) -> bool
This method tests for !=.
impl PartialOrd<LedgerHeader> for LedgerHeader
impl PartialOrd<LedgerHeader> for LedgerHeader
fn partial_cmp(&self, other: &LedgerHeader) -> Option<Ordering>
fn partial_cmp(&self, other: &LedgerHeader) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Eq for LedgerHeader
impl ReadXdr for LedgerHeader
impl StructuralEq for LedgerHeader
impl StructuralPartialEq for LedgerHeader
impl WriteXdr for LedgerHeader
Auto Trait Implementations
impl RefUnwindSafe for LedgerHeader
impl Send for LedgerHeader
impl Sync for LedgerHeader
impl Unpin for LedgerHeader
impl UnwindSafe for LedgerHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more