pub struct Ledger {
pub schema_version: u32,
pub gateway: String,
pub mode: String,
pub render_sha256: String,
pub run_id: String,
pub files: Vec<String>,
}Expand description
The declared-names ledger.
Fields§
§schema_version: u32Always 1.
gateway: StringThe gateway directory name the ledger belongs to (the target’s
gateway).
mode: StringThe deployment mode the ledger belongs to (the target’s mode).
render_sha256: Stringrender_sha256 of the render the writing apply deployed: 64
lowercase hex digits.
run_id: StringIdentifier of the apply run that wrote it: [A-Za-z0-9._-]{1,128}.
files: Vec<String>The mode-collection files that apply wrote, byte-sorted and unique.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ledger
impl<'de> Deserialize<'de> for Ledger
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 StructuralPartialEq for Ledger
Auto Trait Implementations§
impl Forget for Ledger
impl Freeze for Ledger
impl Move for Ledger
impl RefUnwindSafe for Ledger
impl Send for Ledger
impl Sync for Ledger
impl Unpin for Ledger
impl UnsafeUnpin for Ledger
impl UnwindSafe for Ledger
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