pub struct Lockfile {
pub prayfile_lock: String,
pub spec: String,
pub generated_by: String,
pub manifest_hash: String,
pub environment: Option<String>,
pub source: Vec<LockSource>,
pub package: Vec<LockedPackage>,
pub target: Vec<LockedTarget>,
pub managed_span: Vec<ManagedSpanRecord>,
}Fields§
§prayfile_lock: String§spec: String§generated_by: String§manifest_hash: String§environment: Option<String>§source: Vec<LockSource>§package: Vec<LockedPackage>§target: Vec<LockedTarget>§managed_span: Vec<ManagedSpanRecord>Implementations§
Source§impl Lockfile
impl Lockfile
pub fn canonicalized(&self) -> Self
pub fn serialized(&self) -> PrayResult<String>
pub fn file_hash(&self) -> PrayResult<String>
pub fn equivalent_to(&self, other: &Self) -> bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lockfile
impl<'de> Deserialize<'de> for Lockfile
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 StructuralPartialEq for Lockfile
Auto Trait Implementations§
impl Freeze for Lockfile
impl RefUnwindSafe for Lockfile
impl Send for Lockfile
impl Sync for Lockfile
impl Unpin for Lockfile
impl UnsafeUnpin for Lockfile
impl UnwindSafe for Lockfile
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