pub struct AuthorityId(/* private fields */);Expand description
The content identity of an Authority value.
Implementations§
Source§impl AuthorityId
impl AuthorityId
Sourcepub fn content_id(&self) -> ContentId
pub fn content_id(&self) -> ContentId
The underlying content id (read-only; construction is via Authority::id).
Trait Implementations§
Source§impl Clone for AuthorityId
impl Clone for AuthorityId
impl Copy for AuthorityId
Source§impl Debug for AuthorityId
impl Debug for AuthorityId
Source§impl<'de> Deserialize<'de> for AuthorityId
impl<'de> Deserialize<'de> for AuthorityId
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
impl Eq for AuthorityId
Source§impl Hash for AuthorityId
impl Hash for AuthorityId
Source§impl Ord for AuthorityId
impl Ord for AuthorityId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AuthorityId
impl PartialEq for AuthorityId
Source§impl PartialOrd for AuthorityId
impl PartialOrd for AuthorityId
Source§impl Serialize for AuthorityId
impl Serialize for AuthorityId
impl StructuralPartialEq for AuthorityId
Auto Trait Implementations§
impl Freeze for AuthorityId
impl RefUnwindSafe for AuthorityId
impl Send for AuthorityId
impl Sync for AuthorityId
impl Unpin for AuthorityId
impl UnsafeUnpin for AuthorityId
impl UnwindSafe for AuthorityId
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