pub struct GetLedgersResponse {
pub latest_ledger: u32,
pub latest_ledger_close_time: i64,
pub oldest_ledger: u32,
pub oldest_ledger_close_time: i64,
pub cursor: String,
pub ledgers: Vec<LedgerInfo>,
}Expand description
Response to get_ledgers
Fields§
§latest_ledger: u32The sequence number of the latest ledger known to Stellar RPC at the time it handled the request.
latest_ledger_close_time: i64The unix timestamp of the close time of the latest ledger known to Stellar RPC at the time it handled the request.
oldest_ledger: u32The sequence number of the oldest ledger ingested by Stellar RPC at the time it handled the request.
oldest_ledger_close_time: i64The unix timestamp of the close time of the oldest ledger ingested by Stellar RPC at the time it handled the request.
cursor: StringCursor reference
ledgers: Vec<LedgerInfo>Ledgers returned
Trait Implementations§
Source§impl Debug for GetLedgersResponse
impl Debug for GetLedgersResponse
Source§impl<'de> Deserialize<'de> for GetLedgersResponse
impl<'de> Deserialize<'de> for GetLedgersResponse
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
Auto Trait Implementations§
impl Freeze for GetLedgersResponse
impl RefUnwindSafe for GetLedgersResponse
impl Send for GetLedgersResponse
impl Sync for GetLedgersResponse
impl Unpin for GetLedgersResponse
impl UnwindSafe for GetLedgersResponse
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