Struct avalanche_types::jsonrpc::info::GetNodeIdResult
source · pub struct GetNodeIdResult {
pub node_id: Id,
}
Expand description
ref. https://docs.avax.network/build/avalanchego-apis/info/#infogetnodeid
Fields
node_id: Id
Implementations
Trait Implementations
sourceimpl Clone for GetNodeIdResult
impl Clone for GetNodeIdResult
sourcefn clone(&self) -> GetNodeIdResult
fn clone(&self) -> GetNodeIdResult
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 GetNodeIdResult
impl Debug for GetNodeIdResult
sourceimpl Default for GetNodeIdResult
impl Default for GetNodeIdResult
sourceimpl<'de> Deserialize<'de> for GetNodeIdResult
impl<'de> Deserialize<'de> for GetNodeIdResult
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<GetNodeIdResult> for GetNodeIdResult
impl PartialEq<GetNodeIdResult> for GetNodeIdResult
sourcefn eq(&self, other: &GetNodeIdResult) -> bool
fn eq(&self, other: &GetNodeIdResult) -> bool
sourceimpl Serialize for GetNodeIdResult
impl Serialize for GetNodeIdResult
impl Eq for GetNodeIdResult
impl StructuralEq for GetNodeIdResult
impl StructuralPartialEq for GetNodeIdResult
Auto Trait Implementations
impl RefUnwindSafe for GetNodeIdResult
impl Send for GetNodeIdResult
impl Sync for GetNodeIdResult
impl Unpin for GetNodeIdResult
impl UnwindSafe for GetNodeIdResult
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.