#[non_exhaustive]pub struct ClusterListOptions {
pub account_id: i64,
pub region_id: Option<i64>,
pub is_active: Option<bool>,
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.account_id: i64§region_id: Option<i64>§is_active: Option<bool>§page: Option<i64>§limit: Option<i64>Implementations§
Source§impl ClusterListOptions
impl ClusterListOptions
Sourcepub fn new(account_id: i64) -> Self
pub fn new(account_id: i64) -> Self
Builds the value from its required fields. Optional fields start unset.
Sourcepub fn with_region_id(self, value: i64) -> Self
pub fn with_region_id(self, value: i64) -> Self
Sets region_id.
Sourcepub fn with_is_active(self, value: bool) -> Self
pub fn with_is_active(self, value: bool) -> Self
Sets is_active.
Sourcepub fn with_limit(self, value: i64) -> Self
pub fn with_limit(self, value: i64) -> Self
Sets limit.
Trait Implementations§
Source§impl Clone for ClusterListOptions
impl Clone for ClusterListOptions
Source§impl Debug for ClusterListOptions
impl Debug for ClusterListOptions
Auto Trait Implementations§
impl Freeze for ClusterListOptions
impl RefUnwindSafe for ClusterListOptions
impl Send for ClusterListOptions
impl Sync for ClusterListOptions
impl Unpin for ClusterListOptions
impl UnsafeUnpin for ClusterListOptions
impl UnwindSafe for ClusterListOptions
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