Struct rusoto_events::Archive
source · [−]pub struct Archive {
pub archive_name: Option<String>,
pub creation_time: Option<f64>,
pub event_count: Option<i64>,
pub event_source_arn: Option<String>,
pub retention_days: Option<i64>,
pub size_bytes: Option<i64>,
pub state: Option<String>,
pub state_reason: Option<String>,
}
Expand description
An Archive
object that contains details about an archive.
Fields
archive_name: Option<String>
The name of the archive.
creation_time: Option<f64>
The time stamp for the time that the archive was created.
event_count: Option<i64>
The number of events in the archive.
event_source_arn: Option<String>
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
retention_days: Option<i64>
The number of days to retain events in the archive before they are deleted.
size_bytes: Option<i64>
The size of the archive, in bytes.
state: Option<String>
The current state of the archive.
state_reason: Option<String>
A description for the reason that the archive is in the current state.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Archive
impl<'de> Deserialize<'de> for Archive
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
impl StructuralPartialEq for Archive
Auto Trait Implementations
impl RefUnwindSafe for Archive
impl Send for Archive
impl Sync for Archive
impl Unpin for Archive
impl UnwindSafe for Archive
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