pub struct StateAttachmentId(/* private fields */);Implementations§
Source§impl StateAttachmentId
impl StateAttachmentId
pub fn from_hash(hash: ContentHash) -> Self
pub fn as_hash(&self) -> &ContentHash
Trait Implementations§
Source§impl Clone for StateAttachmentId
impl Clone for StateAttachmentId
Source§fn clone(&self) -> StateAttachmentId
fn clone(&self) -> StateAttachmentId
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 StateAttachmentId
Source§impl Debug for StateAttachmentId
impl Debug for StateAttachmentId
Source§impl<'de> Deserialize<'de> for StateAttachmentId
impl<'de> Deserialize<'de> for StateAttachmentId
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 StateAttachmentId
impl Display for StateAttachmentId
impl Eq for StateAttachmentId
Source§impl Hash for StateAttachmentId
impl Hash for StateAttachmentId
Source§impl Ord for StateAttachmentId
impl Ord for StateAttachmentId
Source§fn cmp(&self, other: &StateAttachmentId) -> Ordering
fn cmp(&self, other: &StateAttachmentId) -> 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 StateAttachmentId
impl PartialEq for StateAttachmentId
Source§impl PartialOrd for StateAttachmentId
impl PartialOrd for StateAttachmentId
Source§impl Serialize for StateAttachmentId
impl Serialize for StateAttachmentId
impl StructuralPartialEq for StateAttachmentId
Auto Trait Implementations§
impl Freeze for StateAttachmentId
impl RefUnwindSafe for StateAttachmentId
impl Send for StateAttachmentId
impl Sync for StateAttachmentId
impl Unpin for StateAttachmentId
impl UnsafeUnpin for StateAttachmentId
impl UnwindSafe for StateAttachmentId
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