#[non_exhaustive]pub struct RegionListOptions {
pub account_id: 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§is_active: Option<bool>§page: Option<i64>§limit: Option<i64>Implementations§
Source§impl RegionListOptions
impl RegionListOptions
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_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 RegionListOptions
impl Clone for RegionListOptions
Source§impl Debug for RegionListOptions
impl Debug for RegionListOptions
Auto Trait Implementations§
impl Freeze for RegionListOptions
impl RefUnwindSafe for RegionListOptions
impl Send for RegionListOptions
impl Sync for RegionListOptions
impl Unpin for RegionListOptions
impl UnsafeUnpin for RegionListOptions
impl UnwindSafe for RegionListOptions
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