pub struct StoredPlan {Show 16 fields
pub schema_version: String,
pub plan_id: String,
pub profile: String,
pub summary: String,
pub created_at_unix: u64,
pub expires_at_unix: u64,
pub status: PlanStatus,
pub risk_level: RiskLevel,
pub reversibility: Reversibility,
pub plan_hash: String,
pub approval_code: String,
pub approved_at_unix: Option<u64>,
pub applied_at_unix: Option<u64>,
pub operations: Vec<PlanOperation>,
pub preview_lines: Vec<String>,
pub completed_ops: Vec<OperationRecord>,
}Fields§
§schema_version: String§plan_id: String§profile: String§summary: String§created_at_unix: u64§expires_at_unix: u64§status: PlanStatus§risk_level: RiskLevel§reversibility: Reversibility§plan_hash: String§approval_code: String§approved_at_unix: Option<u64>§applied_at_unix: Option<u64>§operations: Vec<PlanOperation>§preview_lines: Vec<String>§completed_ops: Vec<OperationRecord>Trait Implementations§
Source§impl Clone for StoredPlan
impl Clone for StoredPlan
Source§impl Debug for StoredPlan
impl Debug for StoredPlan
Source§impl<'de> Deserialize<'de> for StoredPlan
impl<'de> Deserialize<'de> for StoredPlan
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 Forget for StoredPlan
impl Freeze for StoredPlan
impl Move for StoredPlan
impl RefUnwindSafe for StoredPlan
impl Send for StoredPlan
impl Sync for StoredPlan
impl Unpin for StoredPlan
impl UnsafeUnpin for StoredPlan
impl UnwindSafe for StoredPlan
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