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