Struct rusoto_events::DescribeRuleResponse
source · [−]pub struct DescribeRuleResponse {
pub arn: Option<String>,
pub created_by: Option<String>,
pub description: Option<String>,
pub event_bus_name: Option<String>,
pub event_pattern: Option<String>,
pub managed_by: Option<String>,
pub name: Option<String>,
pub role_arn: Option<String>,
pub schedule_expression: Option<String>,
pub state: Option<String>,
}
Fields
arn: Option<String>
The Amazon Resource Name (ARN) of the rule.
created_by: Option<String>
The account ID of the user that created the rule. If you use PutRule
to put a rule on an event bus in another account, the other account is the owner of the rule, and the rule ARN includes the account ID for that account. However, the value for CreatedBy
is the account ID as the account that created the rule in the other account.
description: Option<String>
The description of the rule.
event_bus_name: Option<String>
The name of the event bus associated with the rule.
event_pattern: Option<String>
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
managed_by: Option<String>
If this is a managed rule, created by an AWS service on your behalf, this field displays the principal name of the AWS service that created the rule.
name: Option<String>
The name of the rule.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
schedule_expression: Option<String>
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
state: Option<String>
Specifies whether the rule is enabled or disabled.
Trait Implementations
sourceimpl Clone for DescribeRuleResponse
impl Clone for DescribeRuleResponse
sourcefn clone(&self) -> DescribeRuleResponse
fn clone(&self) -> DescribeRuleResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeRuleResponse
impl Debug for DescribeRuleResponse
sourceimpl Default for DescribeRuleResponse
impl Default for DescribeRuleResponse
sourcefn default() -> DescribeRuleResponse
fn default() -> DescribeRuleResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DescribeRuleResponse
impl<'de> Deserialize<'de> for DescribeRuleResponse
sourcefn 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
sourceimpl PartialEq<DescribeRuleResponse> for DescribeRuleResponse
impl PartialEq<DescribeRuleResponse> for DescribeRuleResponse
sourcefn eq(&self, other: &DescribeRuleResponse) -> bool
fn eq(&self, other: &DescribeRuleResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeRuleResponse) -> bool
fn ne(&self, other: &DescribeRuleResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeRuleResponse
Auto Trait Implementations
impl RefUnwindSafe for DescribeRuleResponse
impl Send for DescribeRuleResponse
impl Sync for DescribeRuleResponse
impl Unpin for DescribeRuleResponse
impl UnwindSafe for DescribeRuleResponse
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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