pub struct FileRecord {
pub destination: String,
pub kind: Kind,
pub sha256: Digest,
pub baseline_sha256: Option<Digest>,
}Expand description
One landed destination.
Fields§
§destination: StringThe destination, relative to the target root.
kind: KindThe declared ownership kind.
sha256: DigestThe digest of what was written — after substitution for a
rendered file, of the marked block for AGENTS.md.
baseline_sha256: Option<Digest>The digest of the bytes this file’s comparisons start from — what
makes the three-way comparison at upgrade possible. For a
rendered file, the payload as it stood at landing, before
substitution; for a seeded file, the starting point the target
tunes away from — the seeding payload, or, where a later payload
reclassified the file from rendered, the rendered bytes
release-kit last wrote. Absent for state files, which are never
compared.
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