pub struct MessageRule {
pub display_name: String,
pub sequence: i32,
pub conditions: MessageRulePredicates,
pub actions: MessageRuleActions,
pub exceptions: MessageRulePredicates,
pub is_enabled: bool,
pub has_error: bool,
pub is_read_only: bool,
}
Fields§
§display_name: String
§sequence: i32
§conditions: MessageRulePredicates
§actions: MessageRuleActions
§exceptions: MessageRulePredicates
§is_enabled: bool
§has_error: bool
§is_read_only: bool
Trait Implementations§
Source§impl Clone for MessageRule
impl Clone for MessageRule
Source§fn clone(&self) -> MessageRule
fn clone(&self) -> MessageRule
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 MessageRule
impl Debug for MessageRule
Source§impl<'de> Deserialize<'de> for MessageRule
impl<'de> Deserialize<'de> for MessageRule
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 MessageRule
impl PartialEq for MessageRule
Source§impl Serialize for MessageRule
impl Serialize for MessageRule
impl Eq for MessageRule
impl StructuralPartialEq for MessageRule
Auto Trait Implementations§
impl Freeze for MessageRule
impl RefUnwindSafe for MessageRule
impl Send for MessageRule
impl Sync for MessageRule
impl Unpin for MessageRule
impl UnwindSafe for MessageRule
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