pub struct Manifest {
pub schema_version: u64,
pub rk_version: String,
pub payload_sha256: Digest,
pub origin: String,
pub tech: String,
pub forge: String,
pub landed_at: String,
pub parameters: Parameters,
pub files: Vec<FileRecord>,
pub pins: BTreeMap<String, String>,
}Expand description
The record a landing writes and every target-side verb reads.
Fields§
§schema_version: u64An integer this binary either knows or refuses on.
rk_version: StringThe binary that produced the landing.
payload_sha256: DigestThe aggregate payload digest from rk payload: which payload
actually landed, where the version alone is ambiguous.
origin: Stringinit or adopt — how the record came to exist.
tech: StringThe technology that selected the payload.
forge: StringThe forge that selected the payload.
landed_at: StringWhen the first landing happened; an upgrade preserves it.
parameters: ParametersEvery value substituted into a rendered file, so a re-render is
reproducible without asking again.
files: Vec<FileRecord>Every landed destination with its kind and digests.
pins: BTreeMap<String, String>The registry pins the landed technology uses, copied at landing
time; rk status compares them offline.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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 Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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