pub struct PlanOp {
pub id: String,
pub safety: SafetyClass,
pub blocked: bool,
pub blocked_reason: Option<String>,
pub blocked_reason_token: Option<String>,
pub target: OpTarget,
pub kind: OpKind,
pub rationale: Rationale,
pub params_required: Vec<String>,
pub preview: Option<OpPreview>,
}Fields§
§id: String§safety: SafetyClass§blocked: bool§blocked_reason: Option<String>§blocked_reason_token: Option<String>§target: OpTarget§kind: OpKind§rationale: Rationale§params_required: Vec<String>§preview: Option<OpPreview>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanOp
impl<'de> Deserialize<'de> for PlanOp
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 PlanOp
impl RefUnwindSafe for PlanOp
impl Send for PlanOp
impl Sync for PlanOp
impl Unpin for PlanOp
impl UnsafeUnpin for PlanOp
impl UnwindSafe for PlanOp
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