#[non_exhaustive]pub struct UpdateArchiveInput {
pub archive_name: Option<String>,
pub description: Option<String>,
pub event_pattern: Option<String>,
pub retention_days: Option<i32>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.archive_name: Option<String>The name of the archive to update.
description: Option<String>The description for the archive.
event_pattern: Option<String>The event pattern to use to filter events sent to the archive.
retention_days: Option<i32>The number of days to retain events in the archive.
Implementations§
source§impl UpdateArchiveInput
impl UpdateArchiveInput
sourcepub fn archive_name(&self) -> Option<&str>
pub fn archive_name(&self) -> Option<&str>
The name of the archive to update.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the archive.
sourcepub fn event_pattern(&self) -> Option<&str>
pub fn event_pattern(&self) -> Option<&str>
The event pattern to use to filter events sent to the archive.
sourcepub fn retention_days(&self) -> Option<i32>
pub fn retention_days(&self) -> Option<i32>
The number of days to retain events in the archive.
source§impl UpdateArchiveInput
impl UpdateArchiveInput
sourcepub fn builder() -> UpdateArchiveInputBuilder
pub fn builder() -> UpdateArchiveInputBuilder
Creates a new builder-style object to manufacture UpdateArchiveInput.
Trait Implementations§
source§impl Clone for UpdateArchiveInput
impl Clone for UpdateArchiveInput
source§fn clone(&self) -> UpdateArchiveInput
fn clone(&self) -> UpdateArchiveInput
Returns a copy 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 UpdateArchiveInput
impl Debug for UpdateArchiveInput
source§impl PartialEq for UpdateArchiveInput
impl PartialEq for UpdateArchiveInput
source§fn eq(&self, other: &UpdateArchiveInput) -> bool
fn eq(&self, other: &UpdateArchiveInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateArchiveInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateArchiveInput
impl Send for UpdateArchiveInput
impl Sync for UpdateArchiveInput
impl Unpin for UpdateArchiveInput
impl UnwindSafe for UpdateArchiveInput
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