pub struct GetEventsResponse {
pub events: Vec<EventResponse>,
pub cursor: Option<String>,
pub latest_ledger: u64,
pub oldest_ledger: Option<u64>,
pub latest_ledger_close_time: Option<String>,
pub oldest_ledger_close_time: Option<String>,
}
Expand description
Response to get_events
Fields§
§events: Vec<EventResponse>
Events found for the filter
cursor: Option<String>
The last populated event ID if total events reach the limit or end of the search window.
latest_ledger: u64
The sequence number of the latest ledger known to Stellar RPC at the time it handled the request.
oldest_ledger: Option<u64>
The sequence number of the oldest ledger stored in Stellar-RPC
latest_ledger_close_time: Option<String>
The unix timestamp of when the latest ledger was closed
oldest_ledger_close_time: Option<String>
The unix timestamp of when the oldest ledger was closed
Trait Implementations§
Source§impl Debug for GetEventsResponse
impl Debug for GetEventsResponse
Source§impl<'de> Deserialize<'de> for GetEventsResponse
impl<'de> Deserialize<'de> for GetEventsResponse
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 GetEventsResponse
impl RefUnwindSafe for GetEventsResponse
impl Send for GetEventsResponse
impl Sync for GetEventsResponse
impl Unpin for GetEventsResponse
impl UnwindSafe for GetEventsResponse
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