pub struct PlanV1 {
pub schema_version: u32,
pub operation: PlanOperationV1,
pub inputs: PlanInputsV1,
pub steps: Vec<PlanStepV1>,
pub permissions: PermissionResolutionV1,
}Fields§
§schema_version: u32§operation: PlanOperationV1§inputs: PlanInputsV1§steps: Vec<PlanStepV1>§permissions: PermissionResolutionV1Implementations§
Source§impl PlanV1
impl PlanV1
pub fn new( operation: impl Into<PlanOperationV1>, inputs: PlanInputsV1, steps: Vec<PlanStepV1>, required_permissions: PermissionSetV1, declared_permissions: &PermissionSetV1, uncomputable_permission_codes: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn is_ready(&self) -> bool
pub fn fingerprint(&self) -> Result<PlanFingerprintV1, PlanApprovalError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanV1
impl<'de> Deserialize<'de> for PlanV1
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 Eq for PlanV1
impl StructuralPartialEq for PlanV1
Auto Trait Implementations§
impl Freeze for PlanV1
impl RefUnwindSafe for PlanV1
impl Send for PlanV1
impl Sync for PlanV1
impl Unpin for PlanV1
impl UnsafeUnpin for PlanV1
impl UnwindSafe for PlanV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.