pub struct TopicRulePayload {
pub actions: Vec<Action>,
pub aws_iot_sql_version: Option<String>,
pub description: Option<String>,
pub error_action: Option<Action>,
pub rule_disabled: Option<bool>,
pub sql: String,
}Expand description
Describes a rule.
Fields§
§actions: Vec<Action>The actions associated with the rule.
aws_iot_sql_version: Option<String>The version of the SQL rules engine to use when evaluating the rule.
description: Option<String>The description of the rule.
error_action: Option<Action>The action to take when an error occurs.
rule_disabled: Option<bool>Specifies whether the rule is disabled.
sql: StringThe SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide.
Trait Implementations§
Source§impl Clone for TopicRulePayload
impl Clone for TopicRulePayload
Source§fn clone(&self) -> TopicRulePayload
fn clone(&self) -> TopicRulePayload
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 TopicRulePayload
impl Debug for TopicRulePayload
Source§impl Default for TopicRulePayload
impl Default for TopicRulePayload
Source§fn default() -> TopicRulePayload
fn default() -> TopicRulePayload
Returns the “default value” for a type. Read more
Source§impl PartialEq for TopicRulePayload
impl PartialEq for TopicRulePayload
Source§impl Serialize for TopicRulePayload
impl Serialize for TopicRulePayload
impl StructuralPartialEq for TopicRulePayload
Auto Trait Implementations§
impl Freeze for TopicRulePayload
impl RefUnwindSafe for TopicRulePayload
impl Send for TopicRulePayload
impl Sync for TopicRulePayload
impl Unpin for TopicRulePayload
impl UnwindSafe for TopicRulePayload
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