#[non_exhaustive]pub struct CreateTopicRuleInput {
pub rule_name: Option<String>,
pub topic_rule_payload: Option<TopicRulePayload>,
pub tags: Option<String>,
}
Expand description
The input for the CreateTopicRule operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rule_name: Option<String>
The name of the rule.
topic_rule_payload: Option<TopicRulePayload>
The rule payload.
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Implementations§
source§impl CreateTopicRuleInput
impl CreateTopicRuleInput
sourcepub fn topic_rule_payload(&self) -> Option<&TopicRulePayload>
pub fn topic_rule_payload(&self) -> Option<&TopicRulePayload>
The rule payload.
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
source§impl CreateTopicRuleInput
impl CreateTopicRuleInput
sourcepub fn builder() -> CreateTopicRuleInputBuilder
pub fn builder() -> CreateTopicRuleInputBuilder
Creates a new builder-style object to manufacture CreateTopicRuleInput
.
Trait Implementations§
source§impl Clone for CreateTopicRuleInput
impl Clone for CreateTopicRuleInput
source§fn clone(&self) -> CreateTopicRuleInput
fn clone(&self) -> CreateTopicRuleInput
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 CreateTopicRuleInput
impl Debug for CreateTopicRuleInput
source§impl PartialEq for CreateTopicRuleInput
impl PartialEq for CreateTopicRuleInput
source§fn eq(&self, other: &CreateTopicRuleInput) -> bool
fn eq(&self, other: &CreateTopicRuleInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTopicRuleInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateTopicRuleInput
impl Send for CreateTopicRuleInput
impl Sync for CreateTopicRuleInput
impl Unpin for CreateTopicRuleInput
impl UnwindSafe for CreateTopicRuleInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.