#[non_exhaustive]pub struct Escalation {
pub reason: Reason,
pub justification: String,
/* private fields */
}Expand description
An escalation of a support case.
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.reason: ReasonRequired. The reason why the Case is being escalated.
justification: StringRequired. A free text description to accompany the reason field above.
Provides additional context on why the case is being escalated.
Implementations§
Source§impl Escalation
impl Escalation
pub fn new() -> Self
Sourcepub fn set_reason<T: Into<Reason>>(self, v: T) -> Self
pub fn set_reason<T: Into<Reason>>(self, v: T) -> Self
Sourcepub fn set_justification<T: Into<String>>(self, v: T) -> Self
pub fn set_justification<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for Escalation
impl Clone for Escalation
Source§fn clone(&self) -> Escalation
fn clone(&self) -> Escalation
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 Escalation
impl Debug for Escalation
Source§impl Default for Escalation
impl Default for Escalation
Source§fn default() -> Escalation
fn default() -> Escalation
Returns the “default value” for a type. Read more
Source§impl PartialEq for Escalation
impl PartialEq for Escalation
impl StructuralPartialEq for Escalation
Auto Trait Implementations§
impl Freeze for Escalation
impl RefUnwindSafe for Escalation
impl Send for Escalation
impl Sync for Escalation
impl Unpin for Escalation
impl UnwindSafe for Escalation
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