pub struct CommitHeaderKeysV0 {
pub deps: Vec<ObjectKey>,
pub acks: Vec<ObjectKey>,
pub nacks: Vec<ObjectKey>,
pub files: Vec<ObjectRef>,
}
Expand description
Keys for the corresponding IDs contained in the Header
Fields§
§deps: Vec<ObjectKey>
Other objects this commit strongly depends on (ex: ADD for a REMOVE, files for an nfiles)
acks: Vec<ObjectKey>
current valid commits in head
nacks: Vec<ObjectKey>
head commits that are invalid
files: Vec<ObjectRef>
list of Files that are referenced in this commit. Exceptionally this is an ObjectRef, because even if the CommitHeader is omitted, we want the Files to be openable.
Trait Implementations§
Source§impl Clone for CommitHeaderKeysV0
impl Clone for CommitHeaderKeysV0
Source§fn clone(&self) -> CommitHeaderKeysV0
fn clone(&self) -> CommitHeaderKeysV0
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommitHeaderKeysV0
impl Debug for CommitHeaderKeysV0
Source§impl<'de> Deserialize<'de> for CommitHeaderKeysV0
impl<'de> Deserialize<'de> for CommitHeaderKeysV0
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
Source§impl PartialEq for CommitHeaderKeysV0
impl PartialEq for CommitHeaderKeysV0
Source§impl Serialize for CommitHeaderKeysV0
impl Serialize for CommitHeaderKeysV0
impl Eq for CommitHeaderKeysV0
impl StructuralPartialEq for CommitHeaderKeysV0
Auto Trait Implementations§
impl Freeze for CommitHeaderKeysV0
impl RefUnwindSafe for CommitHeaderKeysV0
impl Send for CommitHeaderKeysV0
impl Sync for CommitHeaderKeysV0
impl Unpin for CommitHeaderKeysV0
impl UnwindSafe for CommitHeaderKeysV0
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