pub struct CreateTopicRuleRequest {
pub rule_name: String,
pub tags: Option<String>,
pub topic_rule_payload: TopicRulePayload,
}Expand description
The input for the CreateTopicRule operation.
Fields§
§rule_name: StringThe name of the rule.
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..."
topic_rule_payload: TopicRulePayloadThe rule payload.
Trait Implementations§
Source§impl Clone for CreateTopicRuleRequest
impl Clone for CreateTopicRuleRequest
Source§fn clone(&self) -> CreateTopicRuleRequest
fn clone(&self) -> CreateTopicRuleRequest
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 CreateTopicRuleRequest
impl Debug for CreateTopicRuleRequest
Source§impl Default for CreateTopicRuleRequest
impl Default for CreateTopicRuleRequest
Source§fn default() -> CreateTopicRuleRequest
fn default() -> CreateTopicRuleRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateTopicRuleRequest
impl PartialEq for CreateTopicRuleRequest
Source§impl Serialize for CreateTopicRuleRequest
impl Serialize for CreateTopicRuleRequest
impl StructuralPartialEq for CreateTopicRuleRequest
Auto Trait Implementations§
impl Freeze for CreateTopicRuleRequest
impl RefUnwindSafe for CreateTopicRuleRequest
impl Send for CreateTopicRuleRequest
impl Sync for CreateTopicRuleRequest
impl Unpin for CreateTopicRuleRequest
impl UnwindSafe for CreateTopicRuleRequest
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