Struct cardano_legacy_address::Attributes
source · pub struct Attributes {
pub derivation_path: Option<Vec<u8>>,
pub network_magic: Option<u32>,
}
Fields§
§derivation_path: Option<Vec<u8>>
§network_magic: Option<u32>
Implementations§
source§impl Attributes
impl Attributes
Trait Implementations§
source§impl Clone for Attributes
impl Clone for Attributes
source§fn clone(&self) -> Attributes
fn clone(&self) -> Attributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Attributes
impl Debug for Attributes
source§impl Deserialize for Attributes
impl Deserialize for Attributes
source§fn deserialize<R: BufRead>(reader: &mut Deserializer<R>) -> Result<Self>
fn deserialize<R: BufRead>(reader: &mut Deserializer<R>) -> Result<Self>
method to implement to deserialise an object from the given
Deserializer
.source§impl Ord for Attributes
impl Ord for Attributes
source§fn cmp(&self, other: &Attributes) -> Ordering
fn cmp(&self, other: &Attributes) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Attributes> for Attributes
impl PartialEq<Attributes> for Attributes
source§fn eq(&self, other: &Attributes) -> bool
fn eq(&self, other: &Attributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Attributes> for Attributes
impl PartialOrd<Attributes> for Attributes
source§fn partial_cmp(&self, other: &Attributes) -> Option<Ordering>
fn partial_cmp(&self, other: &Attributes) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Attributes
impl Serialize for Attributes
impl Eq for Attributes
impl StructuralEq for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
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