#[non_exhaustive]pub struct GetMonitorUserTemplateOptionalParams {
pub with_all_versions: Option<bool>,
}
Expand description
GetMonitorUserTemplateOptionalParams is a struct for passing parameters to the method MonitorsAPI::get_monitor_user_template
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.with_all_versions: Option<bool>
Whether to include all versions of the template in the response in the versions field.
Implementations§
Source§impl GetMonitorUserTemplateOptionalParams
impl GetMonitorUserTemplateOptionalParams
Sourcepub fn with_all_versions(self, value: bool) -> Self
pub fn with_all_versions(self, value: bool) -> Self
Whether to include all versions of the template in the response in the versions field.
Trait Implementations§
Source§impl Clone for GetMonitorUserTemplateOptionalParams
impl Clone for GetMonitorUserTemplateOptionalParams
Source§fn clone(&self) -> GetMonitorUserTemplateOptionalParams
fn clone(&self) -> GetMonitorUserTemplateOptionalParams
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 GetMonitorUserTemplateOptionalParams
impl Default for GetMonitorUserTemplateOptionalParams
Source§fn default() -> GetMonitorUserTemplateOptionalParams
fn default() -> GetMonitorUserTemplateOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetMonitorUserTemplateOptionalParams
impl RefUnwindSafe for GetMonitorUserTemplateOptionalParams
impl Send for GetMonitorUserTemplateOptionalParams
impl Sync for GetMonitorUserTemplateOptionalParams
impl Unpin for GetMonitorUserTemplateOptionalParams
impl UnwindSafe for GetMonitorUserTemplateOptionalParams
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