pub struct GetLedgerEndResponse {
pub offset: i64,
}
Fields§
§offset: i64
It will always be a non-negative integer. If zero, the participant view of the ledger is empty. If positive, the absolute offset of the ledger as viewed by the participant.
Implementations§
Source§impl GetLedgerEndResponse
impl GetLedgerEndResponse
pub fn new(offset: i64) -> GetLedgerEndResponse
Trait Implementations§
Source§impl Clone for GetLedgerEndResponse
impl Clone for GetLedgerEndResponse
Source§fn clone(&self) -> GetLedgerEndResponse
fn clone(&self) -> GetLedgerEndResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GetLedgerEndResponse
impl Debug for GetLedgerEndResponse
Source§impl Default for GetLedgerEndResponse
impl Default for GetLedgerEndResponse
Source§fn default() -> GetLedgerEndResponse
fn default() -> GetLedgerEndResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetLedgerEndResponse
impl<'de> Deserialize<'de> for GetLedgerEndResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetLedgerEndResponse
impl PartialEq for GetLedgerEndResponse
Source§impl Serialize for GetLedgerEndResponse
impl Serialize for GetLedgerEndResponse
impl StructuralPartialEq for GetLedgerEndResponse
Auto Trait Implementations§
impl Freeze for GetLedgerEndResponse
impl RefUnwindSafe for GetLedgerEndResponse
impl Send for GetLedgerEndResponse
impl Sync for GetLedgerEndResponse
impl Unpin for GetLedgerEndResponse
impl UnwindSafe for GetLedgerEndResponse
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