pub struct Revision(/* private fields */);Expand description
A provider-defined identity and generation token, or a resolver-derived token for the logical value. Equality is meaningful; ordering is not.
Providers must derive this only from non-secret identity/version metadata associated with the returned value, never from secret bytes or lease handles. Syntax validation cannot establish that an endpoint honored this contract.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Revision
impl<'de> Deserialize<'de> for Revision
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Revision
impl StructuralPartialEq for Revision
Auto Trait Implementations§
impl Freeze for Revision
impl RefUnwindSafe for Revision
impl Send for Revision
impl Sync for Revision
impl Unpin for Revision
impl UnsafeUnpin for Revision
impl UnwindSafe for Revision
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