pub enum Meta {
Show 13 variants
Pack {
repo: String,
hash: String,
},
Refs {
repo: String,
atomic: bool,
edits: Vec<RefEdit>,
},
ControlBlob {
id: String,
},
ControlDoc {
name: String,
expected: Option<String>,
new: String,
},
Secret {
key: String,
deleted: bool,
},
Lfs {
repo: String,
oid: String,
size: u64,
},
RepoStore {
repo: String,
op: String,
hash: String,
},
Kek {},
Append {
log: String,
},
File {
path: String,
deleted: bool,
},
Activity {},
SnapshotAt {
at: u64,
},
Erase {
account: String,
repos: Vec<String>,
reason: String,
},
}Expand description
The typed meta of a frame. Serialized as JSON; every variant is additive.
Variants§
Pack
Fields
Refs
Fields
ControlBlob
ControlDoc
Fields
Secret
Lfs
RepoStore
Kek
Kind::Kek. No fields: the blob is the key.
Append
File
Fields
Activity
Kind::Activity. No fields: the blob is the batch.
SnapshotAt
Erase
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 Meta
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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