#[non_exhaustive]pub struct CreateCaseRequest {
pub parent: String,
pub case: Option<Case>,
/* private fields */
}Expand description
The request message for the CreateCase 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.parent: StringRequired. The name of the parent under which the case should be created.
case: Option<Case>Required. The case to be created.
Implementations§
Source§impl CreateCaseRequest
impl CreateCaseRequest
Trait Implementations§
Source§impl Clone for CreateCaseRequest
impl Clone for CreateCaseRequest
Source§fn clone(&self) -> CreateCaseRequest
fn clone(&self) -> CreateCaseRequest
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 CreateCaseRequest
impl Debug for CreateCaseRequest
Source§impl Default for CreateCaseRequest
impl Default for CreateCaseRequest
Source§fn default() -> CreateCaseRequest
fn default() -> CreateCaseRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateCaseRequest
impl Message for CreateCaseRequest
Source§impl PartialEq for CreateCaseRequest
impl PartialEq for CreateCaseRequest
impl StructuralPartialEq for CreateCaseRequest
Auto Trait Implementations§
impl Freeze for CreateCaseRequest
impl RefUnwindSafe for CreateCaseRequest
impl Send for CreateCaseRequest
impl Sync for CreateCaseRequest
impl Unpin for CreateCaseRequest
impl UnwindSafe for CreateCaseRequest
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