pub struct FileRecord {
pub destination: String,
pub kind: Kind,
pub sha256: Digest,
pub placement: Placement,
}Expand description
One landed destination.
Fields§
§destination: StringThe destination, relative to the target root.
kind: KindThe declared ownership kind.
sha256: DigestThe digest of what the destination holds: the bytes now present for a whole file, the marked region alone for a region destination.
placement: PlacementHow the landing occupies the destination: the whole file, which the record omits, or one marked region inside a document the target owns.
Trait Implementations§
Source§impl Debug for FileRecord
impl Debug for FileRecord
Source§impl<'de> Deserialize<'de> for FileRecord
impl<'de> Deserialize<'de> for FileRecord
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 FileRecord
impl RefUnwindSafe for FileRecord
impl Send for FileRecord
impl Sync for FileRecord
impl Unpin for FileRecord
impl UnsafeUnpin for FileRecord
impl UnwindSafe for FileRecord
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