pub struct SingleKeyAddress(/* private fields */);Expand description
A canonical address derived from a single Falcon-512 public key.
Format: "0x" + hex(SHA3-256(public_key)[0..20])
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SingleKeyAddress
impl AsRef<str> for SingleKeyAddress
Source§impl Clone for SingleKeyAddress
impl Clone for SingleKeyAddress
Source§fn clone(&self) -> SingleKeyAddress
fn clone(&self) -> SingleKeyAddress
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 SingleKeyAddress
impl Debug for SingleKeyAddress
Source§impl<'de> Deserialize<'de> for SingleKeyAddress
impl<'de> Deserialize<'de> for SingleKeyAddress
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 SingleKeyAddress
impl Display for SingleKeyAddress
Source§impl Hash for SingleKeyAddress
impl Hash for SingleKeyAddress
Source§impl PartialEq for SingleKeyAddress
impl PartialEq for SingleKeyAddress
Source§impl Serialize for SingleKeyAddress
impl Serialize for SingleKeyAddress
impl Eq for SingleKeyAddress
impl StructuralPartialEq for SingleKeyAddress
Auto Trait Implementations§
impl Freeze for SingleKeyAddress
impl RefUnwindSafe for SingleKeyAddress
impl Send for SingleKeyAddress
impl Sync for SingleKeyAddress
impl Unpin for SingleKeyAddress
impl UnsafeUnpin for SingleKeyAddress
impl UnwindSafe for SingleKeyAddress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more