pub struct ManagedEntry {
pub source: Utf8PathBuf,
pub destination: Utf8PathBuf,
pub sha256: Sha256,
}Expand description
A byte-for-byte projection of a payload file into the instance.
Fields§
§source: Utf8PathBufThe payload path the bytes came from.
destination: Utf8PathBufWhere the instance holds them, relative to its root.
sha256: Sha256The installed bytes; any difference on disk is drift.
Trait Implementations§
Source§impl Clone for ManagedEntry
impl Clone for ManagedEntry
Source§fn clone(&self) -> ManagedEntry
fn clone(&self) -> ManagedEntry
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 ManagedEntry
impl Debug for ManagedEntry
Source§impl<'de> Deserialize<'de> for ManagedEntry
impl<'de> Deserialize<'de> for ManagedEntry
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 ManagedEntry
Source§impl PartialEq for ManagedEntry
impl PartialEq for ManagedEntry
Source§impl Serialize for ManagedEntry
impl Serialize for ManagedEntry
impl StructuralPartialEq for ManagedEntry
Auto Trait Implementations§
impl Freeze for ManagedEntry
impl RefUnwindSafe for ManagedEntry
impl Send for ManagedEntry
impl Sync for ManagedEntry
impl Unpin for ManagedEntry
impl UnsafeUnpin for ManagedEntry
impl UnwindSafe for ManagedEntry
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