pub enum CommandExecutionApprovalDecision {
Accept,
AcceptForSession,
AcceptWithExecpolicyAmendment {
execpolicy_amendment: Vec<String>,
},
ApplyNetworkPolicyAmendment {
network_policy_amendment: NetworkPolicyAmendment,
},
Decline,
Cancel,
}Variants§
Accept
AcceptForSession
AcceptWithExecpolicyAmendment
ApplyNetworkPolicyAmendment
Fields
§
network_policy_amendment: NetworkPolicyAmendmentDecline
Cancel
Trait Implementations§
Source§impl Clone for CommandExecutionApprovalDecision
impl Clone for CommandExecutionApprovalDecision
Source§fn clone(&self) -> CommandExecutionApprovalDecision
fn clone(&self) -> CommandExecutionApprovalDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CommandExecutionApprovalDecision
impl<'de> Deserialize<'de> for CommandExecutionApprovalDecision
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
Source§impl PartialEq for CommandExecutionApprovalDecision
impl PartialEq for CommandExecutionApprovalDecision
Source§fn eq(&self, other: &CommandExecutionApprovalDecision) -> bool
fn eq(&self, other: &CommandExecutionApprovalDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandExecutionApprovalDecision
Auto Trait Implementations§
impl Freeze for CommandExecutionApprovalDecision
impl RefUnwindSafe for CommandExecutionApprovalDecision
impl Send for CommandExecutionApprovalDecision
impl Sync for CommandExecutionApprovalDecision
impl Unpin for CommandExecutionApprovalDecision
impl UnsafeUnpin for CommandExecutionApprovalDecision
impl UnwindSafe for CommandExecutionApprovalDecision
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