pub struct PackListLock {
pub schema: SchemaVersion,
pub revision_id: RevisionId,
pub packs: Vec<LockedPack>,
}Expand description
The pack-list.lock document for a single revision.
Fields§
§schema: SchemaVersion§revision_id: RevisionIdThe revision this lock pins — binds the file to its owner so a misplaced or cross-revision lock is detectable by the reader.
packs: Vec<LockedPack>Implementations§
Source§impl PackListLock
impl PackListLock
pub fn schema_str() -> &'static str
Trait Implementations§
Source§impl Clone for PackListLock
impl Clone for PackListLock
Source§fn clone(&self) -> PackListLock
fn clone(&self) -> PackListLock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackListLock
impl Debug for PackListLock
Source§impl<'de> Deserialize<'de> for PackListLock
impl<'de> Deserialize<'de> for PackListLock
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 PackListLock
Source§impl PartialEq for PackListLock
impl PartialEq for PackListLock
Source§fn eq(&self, other: &PackListLock) -> bool
fn eq(&self, other: &PackListLock) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackListLock
impl Serialize for PackListLock
impl StructuralPartialEq for PackListLock
Auto Trait Implementations§
impl Freeze for PackListLock
impl RefUnwindSafe for PackListLock
impl Send for PackListLock
impl Sync for PackListLock
impl Unpin for PackListLock
impl UnsafeUnpin for PackListLock
impl UnwindSafe for PackListLock
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.