pub struct DestinationAddressBytes(/* private fields */);Implementations§
Source§impl DestinationAddressBytes
impl DestinationAddressBytes
pub fn as_base58_string(&self) -> String
pub fn try_from_base58_string<S: Into<String>>(val: S) -> Result<Self>
pub fn from_bytes(b: [u8; 32]) -> Self
pub fn try_from_byte_slice(b: &[u8]) -> Result<Self>
Sourcepub fn as_bytes_ref(&self) -> &[u8; 32]
pub fn as_bytes_ref(&self) -> &[u8; 32]
View this DestinationAddressBytes as an array of bytes.
Trait Implementations§
Source§impl Clone for DestinationAddressBytes
impl Clone for DestinationAddressBytes
Source§fn clone(&self) -> DestinationAddressBytes
fn clone(&self) -> DestinationAddressBytes
Returns a duplicate 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 DestinationAddressBytes
impl Debug for DestinationAddressBytes
Source§impl Display for DestinationAddressBytes
impl Display for DestinationAddressBytes
Source§impl Hash for DestinationAddressBytes
impl Hash for DestinationAddressBytes
Source§impl PartialEq for DestinationAddressBytes
impl PartialEq for DestinationAddressBytes
Source§impl PartialOrd for DestinationAddressBytes
impl PartialOrd for DestinationAddressBytes
impl Copy for DestinationAddressBytes
impl Eq for DestinationAddressBytes
impl StructuralPartialEq for DestinationAddressBytes
Auto Trait Implementations§
impl Freeze for DestinationAddressBytes
impl RefUnwindSafe for DestinationAddressBytes
impl Send for DestinationAddressBytes
impl Sync for DestinationAddressBytes
impl Unpin for DestinationAddressBytes
impl UnwindSafe for DestinationAddressBytes
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