#[non_exhaustive]pub struct GetScheduleOnCallUserOptionalParams {
pub include: Option<String>,
pub filter_at_ts: Option<String>,
}
Expand description
GetScheduleOnCallUserOptionalParams is a struct for passing parameters to the method OnCallAPI::get_schedule_on_call_user
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.include: Option<String>
Specifies related resources to include in the response as a comma-separated list. Allowed value: user
.
filter_at_ts: Option<String>
Retrieves the on-call user at the given timestamp (ISO-8601). Defaults to the current time if omitted.“
Implementations§
Source§impl GetScheduleOnCallUserOptionalParams
impl GetScheduleOnCallUserOptionalParams
Sourcepub fn include(self, value: String) -> Self
pub fn include(self, value: String) -> Self
Specifies related resources to include in the response as a comma-separated list. Allowed value: user
.
Sourcepub fn filter_at_ts(self, value: String) -> Self
pub fn filter_at_ts(self, value: String) -> Self
Retrieves the on-call user at the given timestamp (ISO-8601). Defaults to the current time if omitted.“
Trait Implementations§
Source§impl Clone for GetScheduleOnCallUserOptionalParams
impl Clone for GetScheduleOnCallUserOptionalParams
Source§fn clone(&self) -> GetScheduleOnCallUserOptionalParams
fn clone(&self) -> GetScheduleOnCallUserOptionalParams
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 GetScheduleOnCallUserOptionalParams
impl Default for GetScheduleOnCallUserOptionalParams
Source§fn default() -> GetScheduleOnCallUserOptionalParams
fn default() -> GetScheduleOnCallUserOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetScheduleOnCallUserOptionalParams
impl RefUnwindSafe for GetScheduleOnCallUserOptionalParams
impl Send for GetScheduleOnCallUserOptionalParams
impl Sync for GetScheduleOnCallUserOptionalParams
impl Unpin for GetScheduleOnCallUserOptionalParams
impl UnwindSafe for GetScheduleOnCallUserOptionalParams
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