Struct antimatter_api::models::capability_rule::CapabilityRule
source · pub struct CapabilityRule {
pub match_expressions: Option<Vec<CapabilityRuleMatchExpressionsInner>>,
}Expand description
CapabilityRule : A rule that refers to a domain identity capability. These rules are ANDed together
Fields§
§match_expressions: Option<Vec<CapabilityRuleMatchExpressionsInner>>A list of capability matching patterns. Elements are ANDed together
Implementations§
source§impl CapabilityRule
impl CapabilityRule
sourcepub fn new() -> CapabilityRule
pub fn new() -> CapabilityRule
A rule that refers to a domain identity capability. These rules are ANDed together
Trait Implementations§
source§impl Clone for CapabilityRule
impl Clone for CapabilityRule
source§fn clone(&self) -> CapabilityRule
fn clone(&self) -> CapabilityRule
Returns a copy of the value. Read more
1.0.0 · 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 CapabilityRule
impl Debug for CapabilityRule
source§impl Default for CapabilityRule
impl Default for CapabilityRule
source§fn default() -> CapabilityRule
fn default() -> CapabilityRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CapabilityRule
impl<'de> Deserialize<'de> for CapabilityRule
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 CapabilityRule
impl PartialEq for CapabilityRule
source§fn eq(&self, other: &CapabilityRule) -> bool
fn eq(&self, other: &CapabilityRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CapabilityRule
impl Serialize for CapabilityRule
impl StructuralPartialEq for CapabilityRule
Auto Trait Implementations§
impl Freeze for CapabilityRule
impl RefUnwindSafe for CapabilityRule
impl Send for CapabilityRule
impl Sync for CapabilityRule
impl Unpin for CapabilityRule
impl UnwindSafe for CapabilityRule
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)