#[non_exhaustive]pub struct EscalateCaseRequest {
pub name: String,
pub escalation: Option<Escalation>,
/* private fields */
}Expand description
The request message for the EscalateCase endpoint.
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.name: StringRequired. The name of the case to be escalated.
escalation: Option<Escalation>The escalation information to be sent with the escalation request.
Implementations§
Source§impl EscalateCaseRequest
impl EscalateCaseRequest
pub fn new() -> Self
Sourcepub fn set_escalation<T>(self, v: T) -> Selfwhere
T: Into<Escalation>,
pub fn set_escalation<T>(self, v: T) -> Selfwhere
T: Into<Escalation>,
Sets the value of escalation.
§Example
ⓘ
use google_cloud_support_v2::model::Escalation;
let x = EscalateCaseRequest::new().set_escalation(Escalation::default()/* use setters */);Sourcepub fn set_or_clear_escalation<T>(self, v: Option<T>) -> Selfwhere
T: Into<Escalation>,
pub fn set_or_clear_escalation<T>(self, v: Option<T>) -> Selfwhere
T: Into<Escalation>,
Sets or clears the value of escalation.
§Example
ⓘ
use google_cloud_support_v2::model::Escalation;
let x = EscalateCaseRequest::new().set_or_clear_escalation(Some(Escalation::default()/* use setters */));
let x = EscalateCaseRequest::new().set_or_clear_escalation(None::<Escalation>);Trait Implementations§
Source§impl Clone for EscalateCaseRequest
impl Clone for EscalateCaseRequest
Source§fn clone(&self) -> EscalateCaseRequest
fn clone(&self) -> EscalateCaseRequest
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 EscalateCaseRequest
impl Debug for EscalateCaseRequest
Source§impl Default for EscalateCaseRequest
impl Default for EscalateCaseRequest
Source§fn default() -> EscalateCaseRequest
fn default() -> EscalateCaseRequest
Returns the “default value” for a type. Read more
Source§impl Message for EscalateCaseRequest
impl Message for EscalateCaseRequest
Source§impl PartialEq for EscalateCaseRequest
impl PartialEq for EscalateCaseRequest
impl StructuralPartialEq for EscalateCaseRequest
Auto Trait Implementations§
impl Freeze for EscalateCaseRequest
impl RefUnwindSafe for EscalateCaseRequest
impl Send for EscalateCaseRequest
impl Sync for EscalateCaseRequest
impl Unpin for EscalateCaseRequest
impl UnwindSafe for EscalateCaseRequest
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