pub struct PolicyRuleConfig {
pub trigger: String,
pub actions: Vec<ActionConfig>,
}Fields§
§trigger: String§actions: Vec<ActionConfig>Trait Implementations§
Source§impl Clone for PolicyRuleConfig
impl Clone for PolicyRuleConfig
Source§fn clone(&self) -> PolicyRuleConfig
fn clone(&self) -> PolicyRuleConfig
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 PolicyRuleConfig
impl Debug for PolicyRuleConfig
Source§impl<'de> Deserialize<'de> for PolicyRuleConfig
impl<'de> Deserialize<'de> for PolicyRuleConfig
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 PolicyRuleConfig
impl PartialEq for PolicyRuleConfig
Source§impl Serialize for PolicyRuleConfig
impl Serialize for PolicyRuleConfig
impl StructuralPartialEq for PolicyRuleConfig
Auto Trait Implementations§
impl Freeze for PolicyRuleConfig
impl RefUnwindSafe for PolicyRuleConfig
impl Send for PolicyRuleConfig
impl Sync for PolicyRuleConfig
impl Unpin for PolicyRuleConfig
impl UnwindSafe for PolicyRuleConfig
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