pub struct LegacyOwnedFile {
pub destination: Utf8PathBuf,
pub sha256: Sha256,
}Expand description
One version-1 managed entry: only what the conflict scan reads.
Fields§
§destination: Utf8PathBufWhere the instance holds the file, relative to its root.
sha256: Sha256The bytes version 1 recorded for it.
Trait Implementations§
Source§impl Clone for LegacyOwnedFile
impl Clone for LegacyOwnedFile
Source§fn clone(&self) -> LegacyOwnedFile
fn clone(&self) -> LegacyOwnedFile
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 LegacyOwnedFile
impl Debug for LegacyOwnedFile
Source§impl<'de> Deserialize<'de> for LegacyOwnedFile
impl<'de> Deserialize<'de> for LegacyOwnedFile
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
Auto Trait Implementations§
impl Freeze for LegacyOwnedFile
impl RefUnwindSafe for LegacyOwnedFile
impl Send for LegacyOwnedFile
impl Sync for LegacyOwnedFile
impl Unpin for LegacyOwnedFile
impl UnsafeUnpin for LegacyOwnedFile
impl UnwindSafe for LegacyOwnedFile
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