pub struct AdoptedEntry {
pub source: Utf8PathBuf,
pub destination: Utf8PathBuf,
pub sha256: Sha256,
pub baseline_sha256: Sha256,
}Expand description
A file seeded from the payload and owned by the instance from then on.
Fields§
§source: Utf8PathBufThe payload path the seed came from.
destination: Utf8PathBufWhere the instance holds its copy, relative to its root.
sha256: Sha256The instance’s installed bytes.
baseline_sha256: Sha256What upstream shipped; an edit reports drift until reconciled.
Trait Implementations§
Source§impl Clone for AdoptedEntry
impl Clone for AdoptedEntry
Source§fn clone(&self) -> AdoptedEntry
fn clone(&self) -> AdoptedEntry
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 AdoptedEntry
impl Debug for AdoptedEntry
Source§impl<'de> Deserialize<'de> for AdoptedEntry
impl<'de> Deserialize<'de> for AdoptedEntry
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 AdoptedEntry
Source§impl PartialEq for AdoptedEntry
impl PartialEq for AdoptedEntry
Source§impl Serialize for AdoptedEntry
impl Serialize for AdoptedEntry
impl StructuralPartialEq for AdoptedEntry
Auto Trait Implementations§
impl Freeze for AdoptedEntry
impl RefUnwindSafe for AdoptedEntry
impl Send for AdoptedEntry
impl Sync for AdoptedEntry
impl Unpin for AdoptedEntry
impl UnsafeUnpin for AdoptedEntry
impl UnwindSafe for AdoptedEntry
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
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.