Struct jormungandr_lib::interfaces::old_address::OldAddress
source · pub struct OldAddress(Addr);
Expand description
OldAddress with the appropriate implementation for Serde API and Display/FromStr interfaces.
Tuple Fields§
§0: Addr
Trait Implementations§
source§impl AsRef<Addr> for OldAddress
impl AsRef<Addr> for OldAddress
source§impl Clone for OldAddress
impl Clone for OldAddress
source§fn clone(&self) -> OldAddress
fn clone(&self) -> OldAddress
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 OldAddress
impl Debug for OldAddress
source§impl<'de> Deserialize<'de> for OldAddress
impl<'de> Deserialize<'de> for OldAddress
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 OldAddress
impl Display for OldAddress
source§impl From<Addr> for OldAddress
impl From<Addr> for OldAddress
source§impl From<OldAddress> for Addr
impl From<OldAddress> for Addr
source§fn from(v: OldAddress) -> Self
fn from(v: OldAddress) -> Self
Converts to this type from the input type.
source§impl FromStr for OldAddress
impl FromStr for OldAddress
source§impl PartialEq<OldAddress> for OldAddress
impl PartialEq<OldAddress> for OldAddress
source§fn eq(&self, other: &OldAddress) -> bool
fn eq(&self, other: &OldAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OldAddress
impl Serialize for OldAddress
impl Eq for OldAddress
impl StructuralEq for OldAddress
impl StructuralPartialEq for OldAddress
Auto Trait Implementations§
impl RefUnwindSafe for OldAddress
impl Send for OldAddress
impl Sync for OldAddress
impl Unpin for OldAddress
impl UnwindSafe for OldAddress
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