pub struct Rule {
pub name: Option<String>,
pub arn: Option<String>,
pub event_pattern: Option<String>,
pub schedule_expression: Option<String>,
pub state: Option<String>,
pub description: Option<String>,
pub role_arn: Option<String>,
pub managed_by: Option<String>,
pub event_bus_name: Option<String>,
}Expand description
A rule returned by ListRules.
Fields§
§name: Option<String>The name of the rule.
arn: Option<String>The ARN of the rule.
event_pattern: Option<String>The event pattern for the rule.
schedule_expression: Option<String>The schedule expression for the rule.
state: Option<String>The state of the rule (ENABLED or DISABLED).
description: Option<String>The description of the rule.
role_arn: Option<String>The IAM role ARN associated with the rule.
managed_by: Option<String>If the rule was created by an AWS service on behalf of your account.
event_bus_name: Option<String>The name of the event bus associated with the rule.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rule
impl<'de> Deserialize<'de> for Rule
Source§fn 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
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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