pub struct CaseClassification {
pub display_name: Option<String>,
pub id: Option<String>,
pub product: Option<Product>,
}
Expand description
A Case Classification represents the topic that a case is about. It’s very important to use accurate classifications, because they’re used to route your cases to specialists who can help you. A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- search case classifications (none)
Fields§
§display_name: Option<String>
A display name for the classification. The display name is not static and can change. To uniquely and consistently identify classifications, use the CaseClassification.id
field.
id: Option<String>
The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search
. Classification IDs returned by caseClassifications.search
are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, case.create
requests using the classification ID will fail.
product: Option<Product>
The full product the classification corresponds to.
Trait Implementations§
Source§impl Clone for CaseClassification
impl Clone for CaseClassification
Source§fn clone(&self) -> CaseClassification
fn clone(&self) -> CaseClassification
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CaseClassification
impl Debug for CaseClassification
Source§impl Default for CaseClassification
impl Default for CaseClassification
Source§fn default() -> CaseClassification
fn default() -> CaseClassification
Source§impl<'de> Deserialize<'de> for CaseClassification
impl<'de> Deserialize<'de> for CaseClassification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for CaseClassification
impl Serialize for CaseClassification
impl Resource for CaseClassification
Auto Trait Implementations§
impl Freeze for CaseClassification
impl RefUnwindSafe for CaseClassification
impl Send for CaseClassification
impl Sync for CaseClassification
impl Unpin for CaseClassification
impl UnwindSafe for CaseClassification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more