#[non_exhaustive]pub struct GetIncidentServiceOptionalParams {
pub include: Option<IncidentRelatedObject>,
}
Expand description
GetIncidentServiceOptionalParams is a struct for passing parameters to the method IncidentServicesAPI::get_incident_service
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<IncidentRelatedObject>
Specifies which types of related objects should be included in the response.
Implementations§
Source§impl GetIncidentServiceOptionalParams
impl GetIncidentServiceOptionalParams
Sourcepub fn include(self, value: IncidentRelatedObject) -> Self
pub fn include(self, value: IncidentRelatedObject) -> Self
Specifies which types of related objects should be included in the response.
Trait Implementations§
Source§impl Clone for GetIncidentServiceOptionalParams
impl Clone for GetIncidentServiceOptionalParams
Source§fn clone(&self) -> GetIncidentServiceOptionalParams
fn clone(&self) -> GetIncidentServiceOptionalParams
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 GetIncidentServiceOptionalParams
impl Default for GetIncidentServiceOptionalParams
Source§fn default() -> GetIncidentServiceOptionalParams
fn default() -> GetIncidentServiceOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetIncidentServiceOptionalParams
impl RefUnwindSafe for GetIncidentServiceOptionalParams
impl Send for GetIncidentServiceOptionalParams
impl Sync for GetIncidentServiceOptionalParams
impl Unpin for GetIncidentServiceOptionalParams
impl UnwindSafe for GetIncidentServiceOptionalParams
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