pub struct PreflightRow {
pub action_id: String,
pub path: String,
pub current_kind: String,
pub planned_kind: String,
pub policy_ok: Option<bool>,
pub provenance: Option<Value>,
pub notes: Option<Vec<String>>,
pub preservation: Option<Value>,
pub preservation_supported: Option<bool>,
pub restore_ready: Option<bool>,
pub backup_tag: Option<String>,
}
Expand description
Typed representation of a preflight diff row. Serialized to JSON for emission and report rows.
Fields§
§action_id: String
Unique identifier for the action
path: String
Path being checked
current_kind: String
Current kind of the path
planned_kind: String
Planned kind of the path
policy_ok: Option<bool>
Whether the policy check passed
provenance: Option<Value>
Provenance information for the path
notes: Option<Vec<String>>
Additional notes about the path
preservation: Option<Value>
Preservation information for the path
preservation_supported: Option<bool>
Whether preservation is supported for this path
restore_ready: Option<bool>
Whether the path is ready for restore
backup_tag: Option<String>
Backup tag for the path
Trait Implementations§
Source§impl Clone for PreflightRow
impl Clone for PreflightRow
Source§fn clone(&self) -> PreflightRow
fn clone(&self) -> PreflightRow
Returns a duplicate of the value. Read more
1.0.0 · 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 PreflightRow
impl Debug for PreflightRow
Auto Trait Implementations§
impl Freeze for PreflightRow
impl RefUnwindSafe for PreflightRow
impl Send for PreflightRow
impl Sync for PreflightRow
impl Unpin for PreflightRow
impl UnwindSafe for PreflightRow
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