Struct rusoto_events::TestEventPatternRequest
source · [−]Fields
event: String
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in AWS Events, and the following fields are mandatory:
-
id
-
account
-
source
-
time
-
region
-
resources
-
detail-type
event_pattern: String
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Trait Implementations
sourceimpl Clone for TestEventPatternRequest
impl Clone for TestEventPatternRequest
sourcefn clone(&self) -> TestEventPatternRequest
fn clone(&self) -> TestEventPatternRequest
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 TestEventPatternRequest
impl Debug for TestEventPatternRequest
sourceimpl Default for TestEventPatternRequest
impl Default for TestEventPatternRequest
sourcefn default() -> TestEventPatternRequest
fn default() -> TestEventPatternRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TestEventPatternRequest> for TestEventPatternRequest
impl PartialEq<TestEventPatternRequest> for TestEventPatternRequest
sourcefn eq(&self, other: &TestEventPatternRequest) -> bool
fn eq(&self, other: &TestEventPatternRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TestEventPatternRequest) -> bool
fn ne(&self, other: &TestEventPatternRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for TestEventPatternRequest
impl Serialize for TestEventPatternRequest
impl StructuralPartialEq for TestEventPatternRequest
Auto Trait Implementations
impl RefUnwindSafe for TestEventPatternRequest
impl Send for TestEventPatternRequest
impl Sync for TestEventPatternRequest
impl Unpin for TestEventPatternRequest
impl UnwindSafe for TestEventPatternRequest
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