pub struct ServerInfo {
pub amendment_blocked: Option<bool>,
pub build_version: Option<String>,
pub peers: Option<u32>,
pub hostid: Option<String>,
pub server_state: Option<String>,
pub state_accounting: Option<HashMap<String, StateAccountingInfo>>,
pub time: Option<String>,
pub uptime: Option<u32>,
pub validated_ledger: SIValidatedLedger,
}
Fields§
§amendment_blocked: Option<bool>
§build_version: Option<String>
§peers: Option<u32>
§hostid: Option<String>
§server_state: Option<String>
§state_accounting: Option<HashMap<String, StateAccountingInfo>>
§time: Option<String>
§uptime: Option<u32>
§validated_ledger: SIValidatedLedger
Trait Implementations§
Source§impl Debug for ServerInfo
impl Debug for ServerInfo
Source§impl<'de> Deserialize<'de> for ServerInfo
impl<'de> Deserialize<'de> for ServerInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnwindSafe for ServerInfo
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