Struct aws_sdk_iot::model::TopicRule
source · [−]#[non_exhaustive]pub struct TopicRule { /* private fields */ }
Expand description
Describes a rule.
Implementations
sourceimpl TopicRule
impl TopicRule
sourcepub fn sql(&self) -> Option<&str>
pub fn sql(&self) -> Option<&str>
The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the rule.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time the rule was created.
sourcepub fn rule_disabled(&self) -> Option<bool>
pub fn rule_disabled(&self) -> Option<bool>
Specifies whether the rule is disabled.
sourcepub fn aws_iot_sql_version(&self) -> Option<&str>
pub fn aws_iot_sql_version(&self) -> Option<&str>
The version of the SQL rules engine to use when evaluating the rule.
sourcepub fn error_action(&self) -> Option<&Action>
pub fn error_action(&self) -> Option<&Action>
The action to perform when an error occurs.
Trait Implementations
sourceimpl PartialEq<TopicRule> for TopicRule
impl PartialEq<TopicRule> for TopicRule
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> 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