Struct rusoto_iot::TopicRule
source · [−]pub struct TopicRule {
pub actions: Option<Vec<Action>>,
pub aws_iot_sql_version: Option<String>,
pub created_at: Option<f64>,
pub description: Option<String>,
pub error_action: Option<Action>,
pub rule_disabled: Option<bool>,
pub rule_name: Option<String>,
pub sql: Option<String>,
}
Expand description
Describes a rule.
Fields
actions: Option<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.
created_at: Option<f64>
The date and time the rule was created.
description: Option<String>
The description of the rule.
error_action: Option<Action>
The action to perform when an error occurs.
rule_disabled: Option<bool>
Specifies whether the rule is disabled.
rule_name: Option<String>
The name of the rule.
sql: Option<String>
The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TopicRule
impl<'de> Deserialize<'de> for TopicRule
sourcefn 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
impl StructuralPartialEq for TopicRule
Auto Trait Implementations
impl RefUnwindSafe for TopicRule
impl Send for TopicRule
impl Sync for TopicRule
impl Unpin for TopicRule
impl UnwindSafe for TopicRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more