#[non_exhaustive]pub struct VersionMeta {
pub version: u64,
pub written_at: i64,
pub written_by: Tolerant<Actor>,
pub size: u32,
pub tombstone: bool,
pub generation: u32,
pub value_ct_hash: Hash32,
pub name_ct_hash: Hash32,
pub sig: Sig64,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: u64§written_at: i64§written_by: Tolerant<Actor>Display only, as in SecretVersion.
size: u32§tombstone: bool§generation: u32§value_ct_hash: Hash32§name_ct_hash: Hash32§sig: Sig64Implementations§
Trait Implementations§
Source§impl Clone for VersionMeta
impl Clone for VersionMeta
Source§impl Debug for VersionMeta
impl Debug for VersionMeta
Source§impl<'de> Deserialize<'de> for VersionMeta
impl<'de> Deserialize<'de> for VersionMeta
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 VersionMeta
Source§impl PartialEq for VersionMeta
impl PartialEq for VersionMeta
Source§impl Serialize for VersionMeta
impl Serialize for VersionMeta
impl StructuralPartialEq for VersionMeta
Auto Trait Implementations§
impl Freeze for VersionMeta
impl RefUnwindSafe for VersionMeta
impl Send for VersionMeta
impl Sync for VersionMeta
impl Unpin for VersionMeta
impl UnsafeUnpin for VersionMeta
impl UnwindSafe for VersionMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.