#[non_exhaustive]pub struct ListMonitorDowntimesOptionalParams {
pub page_offset: Option<i64>,
pub page_limit: Option<i64>,
}
Expand description
ListMonitorDowntimesOptionalParams is a struct for passing parameters to the method DowntimesAPI::list_monitor_downtimes
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.page_offset: Option<i64>
Specific offset to use as the beginning of the returned page.
page_limit: Option<i64>
Maximum number of downtimes in the response.
Implementations§
Source§impl ListMonitorDowntimesOptionalParams
impl ListMonitorDowntimesOptionalParams
Sourcepub fn page_offset(self, value: i64) -> Self
pub fn page_offset(self, value: i64) -> Self
Specific offset to use as the beginning of the returned page.
Sourcepub fn page_limit(self, value: i64) -> Self
pub fn page_limit(self, value: i64) -> Self
Maximum number of downtimes in the response.
Trait Implementations§
Source§impl Clone for ListMonitorDowntimesOptionalParams
impl Clone for ListMonitorDowntimesOptionalParams
Source§fn clone(&self) -> ListMonitorDowntimesOptionalParams
fn clone(&self) -> ListMonitorDowntimesOptionalParams
Returns a duplicate 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 Default for ListMonitorDowntimesOptionalParams
impl Default for ListMonitorDowntimesOptionalParams
Source§fn default() -> ListMonitorDowntimesOptionalParams
fn default() -> ListMonitorDowntimesOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListMonitorDowntimesOptionalParams
impl RefUnwindSafe for ListMonitorDowntimesOptionalParams
impl Send for ListMonitorDowntimesOptionalParams
impl Sync for ListMonitorDowntimesOptionalParams
impl Unpin for ListMonitorDowntimesOptionalParams
impl UnwindSafe for ListMonitorDowntimesOptionalParams
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