pub struct GetLatestLedgerResponse {
pub id: String,
pub protocol_version: u32,
pub sequence: u32,
}Expand description
Response to get_latest_ledger
Fields§
§id: StringHash identifier of the latest ledger (as a hex-encoded string) known to Stellar RPC at the time it handled the request.
protocol_version: u32Stellar Core protocol version associated with the latest ledger.
sequence: u32The sequence number of the latest ledger known to Stellar RPC at the time it handled the request.
Trait Implementations§
Source§impl Debug for GetLatestLedgerResponse
impl Debug for GetLatestLedgerResponse
Source§impl<'de> Deserialize<'de> for GetLatestLedgerResponse
impl<'de> Deserialize<'de> for GetLatestLedgerResponse
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 GetLatestLedgerResponse
impl PartialEq for GetLatestLedgerResponse
impl Eq for GetLatestLedgerResponse
impl StructuralPartialEq for GetLatestLedgerResponse
Auto Trait Implementations§
impl Freeze for GetLatestLedgerResponse
impl RefUnwindSafe for GetLatestLedgerResponse
impl Send for GetLatestLedgerResponse
impl Sync for GetLatestLedgerResponse
impl Unpin for GetLatestLedgerResponse
impl UnwindSafe for GetLatestLedgerResponse
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.