#[non_exhaustive]pub struct AlertListOptions {
pub active: Option<bool>,
pub account_id: Option<i64>,
pub region_id: Option<i64>,
pub severity: Option<i64>,
pub category: Option<String>,
pub since: Option<String>,
pub page: Option<i64>,
pub limit: Option<i64>,
}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.active: Option<bool>§account_id: Option<i64>§region_id: Option<i64>§severity: Option<i64>§category: Option<String>§since: Option<String>§page: Option<i64>§limit: Option<i64>Implementations§
Source§impl AlertListOptions
impl AlertListOptions
Sourcepub fn with_active(self, value: bool) -> Self
pub fn with_active(self, value: bool) -> Self
Sets active.
Sourcepub fn with_account_id(self, value: i64) -> Self
pub fn with_account_id(self, value: i64) -> Self
Sets account_id.
Sourcepub fn with_region_id(self, value: i64) -> Self
pub fn with_region_id(self, value: i64) -> Self
Sets region_id.
Sourcepub fn with_severity(self, value: i64) -> Self
pub fn with_severity(self, value: i64) -> Self
Sets severity.
Sourcepub fn with_category(self, value: impl Into<String>) -> Self
pub fn with_category(self, value: impl Into<String>) -> Self
Sets category.
Sourcepub fn with_since(self, value: impl Into<String>) -> Self
pub fn with_since(self, value: impl Into<String>) -> Self
Sets since.
Sourcepub fn with_limit(self, value: i64) -> Self
pub fn with_limit(self, value: i64) -> Self
Sets limit.
Trait Implementations§
Source§impl Clone for AlertListOptions
impl Clone for AlertListOptions
Source§impl Debug for AlertListOptions
impl Debug for AlertListOptions
Auto Trait Implementations§
impl Freeze for AlertListOptions
impl RefUnwindSafe for AlertListOptions
impl Send for AlertListOptions
impl Sync for AlertListOptions
impl Unpin for AlertListOptions
impl UnsafeUnpin for AlertListOptions
impl UnwindSafe for AlertListOptions
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