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