pub struct ExecPolicyAmendment {
pub prefixes: Vec<String>,
}Expand description
A proposed amendment to the execution policy, suggesting new trusted prefixes.
Fields§
§prefixes: Vec<String>Command prefixes to add to the trusted list.
Trait Implementations§
Source§impl Clone for ExecPolicyAmendment
impl Clone for ExecPolicyAmendment
Source§fn clone(&self) -> ExecPolicyAmendment
fn clone(&self) -> ExecPolicyAmendment
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 Debug for ExecPolicyAmendment
impl Debug for ExecPolicyAmendment
Source§impl<'de> Deserialize<'de> for ExecPolicyAmendment
impl<'de> Deserialize<'de> for ExecPolicyAmendment
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 ExecPolicyAmendment
Source§impl PartialEq for ExecPolicyAmendment
impl PartialEq for ExecPolicyAmendment
Source§fn eq(&self, other: &ExecPolicyAmendment) -> bool
fn eq(&self, other: &ExecPolicyAmendment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecPolicyAmendment
impl Serialize for ExecPolicyAmendment
impl StructuralPartialEq for ExecPolicyAmendment
Auto Trait Implementations§
impl Freeze for ExecPolicyAmendment
impl RefUnwindSafe for ExecPolicyAmendment
impl Send for ExecPolicyAmendment
impl Sync for ExecPolicyAmendment
impl Unpin for ExecPolicyAmendment
impl UnsafeUnpin for ExecPolicyAmendment
impl UnwindSafe for ExecPolicyAmendment
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