pub struct AddressName(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Clone for AddressName
impl Clone for AddressName
Source§fn clone(&self) -> AddressName
fn clone(&self) -> AddressName
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 AddressName
impl Debug for AddressName
Source§impl Decode for AddressName
impl Decode for AddressName
Source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<Self, Error>
Attempt to deserialise the value from input.
Source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
Source§impl Default for AddressName
impl Default for AddressName
Source§fn default() -> AddressName
fn default() -> AddressName
Returns the “default value” for a type. Read more
Source§impl Encode for AddressName
impl Encode for AddressName
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn>(
&self,
f: __CodecUsingEncodedCallback,
) -> __CodecOutputReturn
fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
Source§impl MaxEncodedLen for AddressName
impl MaxEncodedLen for AddressName
Source§fn max_encoded_len() -> usize
fn max_encoded_len() -> usize
Upper bound, in bytes, of the maximum encoded size of this item.
Source§impl Ord for AddressName
impl Ord for AddressName
Source§fn cmp(&self, other: &AddressName) -> Ordering
fn cmp(&self, other: &AddressName) -> 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 for AddressName
impl PartialEq for AddressName
Source§impl PartialOrd for AddressName
impl PartialOrd for AddressName
Source§impl TryFrom<&[u8]> for AddressName
impl TryFrom<&[u8]> for AddressName
Source§impl TypeInfo for AddressName
impl TypeInfo for AddressName
impl Copy for AddressName
impl EncodeLike for AddressName
impl Eq for AddressName
impl StructuralPartialEq for AddressName
Auto Trait Implementations§
impl Freeze for AddressName
impl RefUnwindSafe for AddressName
impl Send for AddressName
impl Sync for AddressName
impl Unpin for AddressName
impl UnwindSafe for AddressName
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