pub struct Sha(/* private fields */);Expand description
Opaque content id: MUST change when content changes (the cache is content-keyed and immutable). A commit sha on backends that have them; whatever the adapter guarantees otherwise.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sha
impl<'de> Deserialize<'de> for Sha
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 Sha
Source§impl Ord for Sha
impl Ord for Sha
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 PartialOrd for Sha
impl PartialOrd for Sha
impl StructuralPartialEq for Sha
Auto Trait Implementations§
impl Freeze for Sha
impl RefUnwindSafe for Sha
impl Send for Sha
impl Sync for Sha
impl Unpin for Sha
impl UnsafeUnpin for Sha
impl UnwindSafe for Sha
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