pub struct EventDestination {
pub id: String,
pub metadata: String,
pub created_at: String,
pub description: String,
pub format: String,
pub target: EventTarget,
pub uri: String,
}
Fields§
§id: String
Unique identifier for this Event Destination.
metadata: String
Arbitrary user-defined machine-readable data of this Event Destination. Optional, max 4096 bytes.
created_at: String
Timestamp when the Event Destination was created, RFC 3339 format.
description: String
Human-readable description of the Event Destination. Optional, max 255 bytes.
format: String
The output format you would like to serialize events into when sending to their
target. Currently the only accepted value is JSON
.
target: EventTarget
An object that encapsulates where and how to send your events. An event
destination must contain exactly one of the following objects, leaving the rest
null: kinesis
, firehose
, cloudwatch_logs
, or s3
.
uri: String
URI of the Event Destination API resource.
Trait Implementations§
Source§impl Clone for EventDestination
impl Clone for EventDestination
Source§fn clone(&self) -> EventDestination
fn clone(&self) -> EventDestination
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 EventDestination
impl Debug for EventDestination
Source§impl Default for EventDestination
impl Default for EventDestination
Source§fn default() -> EventDestination
fn default() -> EventDestination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventDestination
impl<'de> Deserialize<'de> for EventDestination
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 EventDestination
impl RefUnwindSafe for EventDestination
impl Send for EventDestination
impl Sync for EventDestination
impl Unpin for EventDestination
impl UnwindSafe for EventDestination
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