pub struct PublisherId(/* private fields */);Expand description
SHA3-256("zaun/publisher-id/v1" ‖ 0x00 ‖ publisher public key) (specification §4.9).
Implementations§
Trait Implementations§
Source§impl Clone for PublisherId
impl Clone for PublisherId
Source§fn clone(&self) -> PublisherId
fn clone(&self) -> PublisherId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PublisherId
Source§impl Debug for PublisherId
impl Debug for PublisherId
Source§impl<'de> Deserialize<'de> for PublisherId
impl<'de> Deserialize<'de> for PublisherId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PublisherId
impl Display for PublisherId
impl Eq for PublisherId
Source§impl Hash for PublisherId
impl Hash for PublisherId
Source§impl Ord for PublisherId
impl Ord for PublisherId
Source§fn cmp(&self, other: &PublisherId) -> Ordering
fn cmp(&self, other: &PublisherId) -> Ordering
1.21.0 (const: unstable) · 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 PublisherId
impl PartialEq for PublisherId
Source§impl PartialOrd for PublisherId
impl PartialOrd for PublisherId
Source§impl Serialize for PublisherId
impl Serialize for PublisherId
impl StructuralPartialEq for PublisherId
Auto Trait Implementations§
impl Freeze for PublisherId
impl RefUnwindSafe for PublisherId
impl Send for PublisherId
impl Sync for PublisherId
impl Unpin for PublisherId
impl UnsafeUnpin for PublisherId
impl UnwindSafe for PublisherId
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