pub struct PolicyRulesV2 {
pub rules: Option<Vec<PolicyRuleV2>>,
}Fields§
§rules: Option<Vec<PolicyRuleV2>>Policy rules
Implementations§
Source§impl PolicyRulesV2
impl PolicyRulesV2
pub fn new() -> PolicyRulesV2
Trait Implementations§
Source§impl Clone for PolicyRulesV2
impl Clone for PolicyRulesV2
Source§fn clone(&self) -> PolicyRulesV2
fn clone(&self) -> PolicyRulesV2
Returns a duplicate 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 PolicyRulesV2
impl Debug for PolicyRulesV2
Source§impl Default for PolicyRulesV2
impl Default for PolicyRulesV2
Source§fn default() -> PolicyRulesV2
fn default() -> PolicyRulesV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRulesV2
impl<'de> Deserialize<'de> for PolicyRulesV2
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 PolicyRulesV2
impl PartialEq for PolicyRulesV2
Source§impl Serialize for PolicyRulesV2
impl Serialize for PolicyRulesV2
impl StructuralPartialEq for PolicyRulesV2
Auto Trait Implementations§
impl Freeze for PolicyRulesV2
impl RefUnwindSafe for PolicyRulesV2
impl Send for PolicyRulesV2
impl Sync for PolicyRulesV2
impl Unpin for PolicyRulesV2
impl UnwindSafe for PolicyRulesV2
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