pub struct GetHealthResponse {
pub status: String,
pub latest_ledger: u32,
pub oldest_ledger: u32,
pub ledger_retention_window: u32,
}Expand description
Response to get_health RPC method
Fields§
§status: StringHealth status, typically ‘healthy’
latest_ledger: u32Most recent known ledger sequence
oldest_ledger: u32Oldest ledger sequence kept in history
ledger_retention_window: u32Maximum retention window configured. A full window state can be determined via: ledgerRetentionWindow = latestLedger - oldestLedger + 1
Trait Implementations§
Source§impl Debug for GetHealthResponse
impl Debug for GetHealthResponse
Source§impl<'de> Deserialize<'de> for GetHealthResponse
impl<'de> Deserialize<'de> for GetHealthResponse
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 GetHealthResponse
impl PartialEq for GetHealthResponse
impl Eq for GetHealthResponse
impl StructuralPartialEq for GetHealthResponse
Auto Trait Implementations§
impl Freeze for GetHealthResponse
impl RefUnwindSafe for GetHealthResponse
impl Send for GetHealthResponse
impl Sync for GetHealthResponse
impl Unpin for GetHealthResponse
impl UnwindSafe for GetHealthResponse
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.