Struct sov_modules_api::AddressBech32
source · pub struct AddressBech32 { /* private fields */ }
Trait Implementations§
source§impl BorshDeserialize for AddressBech32where
String: BorshDeserialize,
impl BorshDeserialize for AddressBech32where String: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,
source§impl BorshSerialize for AddressBech32where
String: BorshSerialize,
impl BorshSerialize for AddressBech32where String: BorshSerialize,
source§impl Clone for AddressBech32
impl Clone for AddressBech32
source§fn clone(&self) -> AddressBech32
fn clone(&self) -> AddressBech32
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 AddressBech32
impl Debug for AddressBech32
source§impl<'de> Deserialize<'de> for AddressBech32
impl<'de> Deserialize<'de> for AddressBech32
source§fn 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
source§impl Display for AddressBech32
impl Display for AddressBech32
source§impl From<&Address> for AddressBech32
impl From<&Address> for AddressBech32
source§impl From<Address> for AddressBech32
impl From<Address> for AddressBech32
source§impl From<AddressBech32> for Address
impl From<AddressBech32> for Address
source§fn from(addr: AddressBech32) -> Self
fn from(addr: AddressBech32) -> Self
Converts to this type from the input type.
source§impl From<AddressBech32> for String
impl From<AddressBech32> for String
source§fn from(original: AddressBech32) -> Self
fn from(original: AddressBech32) -> Self
Converts to this type from the input type.
source§impl FromStr for AddressBech32
impl FromStr for AddressBech32
source§impl PartialEq<AddressBech32> for AddressBech32
impl PartialEq<AddressBech32> for AddressBech32
source§fn eq(&self, other: &AddressBech32) -> bool
fn eq(&self, other: &AddressBech32) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AddressBech32
impl Serialize for AddressBech32
source§impl TryFrom<&[u8]> for AddressBech32
impl TryFrom<&[u8]> for AddressBech32
source§impl TryFrom<String> for AddressBech32
impl TryFrom<String> for AddressBech32
impl Eq for AddressBech32
impl StructuralEq for AddressBech32
impl StructuralPartialEq for AddressBech32
Auto Trait Implementations§
impl RefUnwindSafe for AddressBech32
impl Send for AddressBech32
impl Sync for AddressBech32
impl Unpin for AddressBech32
impl UnwindSafe for AddressBech32
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