pub struct GetNetworkResponse {
pub passphrase: Option<String>,
pub protocol_version: Option<i32>,
pub friendbot_url: Option<String>,
}
Expand description
Response to get_network
Fields§
§passphrase: Option<String>
Network passphrase configured for this Stellar RPC node.
protocol_version: Option<i32>
Stellar Core protocol version associated with the latest ledger.
friendbot_url: Option<String>
(optional) The URL of this network’s “friendbot” faucet
Trait Implementations§
Source§impl Debug for GetNetworkResponse
impl Debug for GetNetworkResponse
Source§impl<'de> Deserialize<'de> for GetNetworkResponse
impl<'de> Deserialize<'de> for GetNetworkResponse
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 GetNetworkResponse
impl PartialEq for GetNetworkResponse
impl Eq for GetNetworkResponse
impl StructuralPartialEq for GetNetworkResponse
Auto Trait Implementations§
impl Freeze for GetNetworkResponse
impl RefUnwindSafe for GetNetworkResponse
impl Send for GetNetworkResponse
impl Sync for GetNetworkResponse
impl Unpin for GetNetworkResponse
impl UnwindSafe for GetNetworkResponse
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.