Struct avalanche_types::jsonrpc::info::GetNetworkNameResult
source · pub struct GetNetworkNameResult {
pub network_name: String,
}
Expand description
ref. https://docs.avax.network/build/avalanchego-apis/info/#infogetnetworkname
Fields
network_name: String
Implementations
Trait Implementations
sourceimpl Clone for GetNetworkNameResult
impl Clone for GetNetworkNameResult
sourcefn clone(&self) -> GetNetworkNameResult
fn clone(&self) -> GetNetworkNameResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetNetworkNameResult
impl Debug for GetNetworkNameResult
sourceimpl Default for GetNetworkNameResult
impl Default for GetNetworkNameResult
sourceimpl<'de> Deserialize<'de> for GetNetworkNameResult
impl<'de> Deserialize<'de> for GetNetworkNameResult
sourcefn 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
sourceimpl PartialEq<GetNetworkNameResult> for GetNetworkNameResult
impl PartialEq<GetNetworkNameResult> for GetNetworkNameResult
sourcefn eq(&self, other: &GetNetworkNameResult) -> bool
fn eq(&self, other: &GetNetworkNameResult) -> bool
sourceimpl Serialize for GetNetworkNameResult
impl Serialize for GetNetworkNameResult
impl Eq for GetNetworkNameResult
impl StructuralEq for GetNetworkNameResult
impl StructuralPartialEq for GetNetworkNameResult
Auto Trait Implementations
impl RefUnwindSafe for GetNetworkNameResult
impl Send for GetNetworkNameResult
impl Sync for GetNetworkNameResult
impl Unpin for GetNetworkNameResult
impl UnwindSafe for GetNetworkNameResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.