Struct ya_client_model::node_id::NodeId
source · pub struct NodeId { /* private fields */ }
Expand description
Yagna node identity compliant with Ethereum addresses
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeId
impl<'de> Deserialize<'de> for NodeId
source§fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for NodeId
impl FromStr for NodeId
§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
source§impl PartialEq for NodeId
impl PartialEq for NodeId
source§impl Serialize for NodeId
impl Serialize for NodeId
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<&Vec<u8>> for NodeId
impl TryFrom<&Vec<u8>> for NodeId
§type Error = InvalidLengthError
type Error = InvalidLengthError
The type returned in the event of a conversion error.
impl Copy for NodeId
impl Eq for NodeId
impl StructuralEq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations§
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
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