#[non_exhaustive]pub struct RegionAlertListOptions {
pub active: Option<bool>,
pub severity: Option<i64>,
pub category: Option<String>,
pub node_id: Option<String>,
pub metadata_cluster_id: Option<i64>,
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>§severity: Option<i64>§category: Option<String>§node_id: Option<String>§metadata_cluster_id: Option<i64>§since: Option<String>§page: Option<i64>§limit: Option<i64>Implementations§
Source§impl RegionAlertListOptions
impl RegionAlertListOptions
Sourcepub fn with_active(self, value: bool) -> Self
pub fn with_active(self, value: bool) -> Self
Sets active.
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_node_id(self, value: impl Into<String>) -> Self
pub fn with_node_id(self, value: impl Into<String>) -> Self
Sets node_id.
Sourcepub fn with_metadata_cluster_id(self, value: i64) -> Self
pub fn with_metadata_cluster_id(self, value: i64) -> Self
Sets metadata_cluster_id.
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 RegionAlertListOptions
impl Clone for RegionAlertListOptions
Source§impl Debug for RegionAlertListOptions
impl Debug for RegionAlertListOptions
Auto Trait Implementations§
impl Freeze for RegionAlertListOptions
impl RefUnwindSafe for RegionAlertListOptions
impl Send for RegionAlertListOptions
impl Sync for RegionAlertListOptions
impl Unpin for RegionAlertListOptions
impl UnsafeUnpin for RegionAlertListOptions
impl UnwindSafe for RegionAlertListOptions
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