pub struct ClaimRef(pub Uuid);Expand description
Opaque, stable, immutable identity of a committed claim. Minted once at injection time.
Tuple Fields§
§0: UuidImplementations§
Source§impl ClaimRef
impl ClaimRef
Sourcepub fn new_random() -> Self
pub fn new_random() -> Self
Mint a new random ClaimRef.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClaimRef
impl<'de> Deserialize<'de> for ClaimRef
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 ClaimRef
impl StructuralPartialEq for ClaimRef
Auto Trait Implementations§
impl Freeze for ClaimRef
impl RefUnwindSafe for ClaimRef
impl Send for ClaimRef
impl Sync for ClaimRef
impl Unpin for ClaimRef
impl UnsafeUnpin for ClaimRef
impl UnwindSafe for ClaimRef
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