Struct aws_sdk_connect::types::RuleSummary
source · #[non_exhaustive]pub struct RuleSummary {
pub name: String,
pub rule_id: String,
pub rule_arn: String,
pub event_source_name: EventSourceName,
pub publish_status: RulePublishStatus,
pub action_summaries: Vec<ActionSummary>,
pub created_time: DateTime,
pub last_updated_time: DateTime,
}
Expand description
A list of ActionTypes
associated with a rule.
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.name: String
The name of the rule.
rule_id: String
A unique identifier for the rule.
rule_arn: String
The Amazon Resource Name (ARN) of the rule.
event_source_name: EventSourceName
The name of the event source.
publish_status: RulePublishStatus
The publish status of the rule.
action_summaries: Vec<ActionSummary>
A list of ActionTypes associated with a rule.
created_time: DateTime
The timestamp for when the rule was created.
last_updated_time: DateTime
The timestamp for when the rule was last updated.
Implementations§
source§impl RuleSummary
impl RuleSummary
sourcepub fn event_source_name(&self) -> &EventSourceName
pub fn event_source_name(&self) -> &EventSourceName
The name of the event source.
sourcepub fn publish_status(&self) -> &RulePublishStatus
pub fn publish_status(&self) -> &RulePublishStatus
The publish status of the rule.
sourcepub fn action_summaries(&self) -> &[ActionSummary]
pub fn action_summaries(&self) -> &[ActionSummary]
A list of ActionTypes associated with a rule.
sourcepub fn created_time(&self) -> &DateTime
pub fn created_time(&self) -> &DateTime
The timestamp for when the rule was created.
sourcepub fn last_updated_time(&self) -> &DateTime
pub fn last_updated_time(&self) -> &DateTime
The timestamp for when the rule was last updated.
source§impl RuleSummary
impl RuleSummary
sourcepub fn builder() -> RuleSummaryBuilder
pub fn builder() -> RuleSummaryBuilder
Creates a new builder-style object to manufacture RuleSummary
.
Trait Implementations§
source§impl Clone for RuleSummary
impl Clone for RuleSummary
source§fn clone(&self) -> RuleSummary
fn clone(&self) -> RuleSummary
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 RuleSummary
impl Debug for RuleSummary
source§impl PartialEq for RuleSummary
impl PartialEq for RuleSummary
source§fn eq(&self, other: &RuleSummary) -> bool
fn eq(&self, other: &RuleSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleSummary
Auto Trait Implementations§
impl RefUnwindSafe for RuleSummary
impl Send for RuleSummary
impl Sync for RuleSummary
impl Unpin for RuleSummary
impl UnwindSafe for RuleSummary
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.