#[non_exhaustive]pub struct CreateRelatedItemInput {
pub domain_id: Option<String>,
pub case_id: Option<String>,
pub type: Option<RelatedItemType>,
pub content: Option<RelatedItemInputContent>,
}
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.domain_id: Option<String>
The unique identifier of the Cases domain.
case_id: Option<String>
A unique identifier of the case.
type: Option<RelatedItemType>
The type of a related item.
content: Option<RelatedItemInputContent>
The content of a related item to be created.
Implementations§
source§impl CreateRelatedItemInput
impl CreateRelatedItemInput
sourcepub fn type(&self) -> Option<&RelatedItemType>
pub fn type(&self) -> Option<&RelatedItemType>
The type of a related item.
sourcepub fn content(&self) -> Option<&RelatedItemInputContent>
pub fn content(&self) -> Option<&RelatedItemInputContent>
The content of a related item to be created.
source§impl CreateRelatedItemInput
impl CreateRelatedItemInput
sourcepub fn builder() -> CreateRelatedItemInputBuilder
pub fn builder() -> CreateRelatedItemInputBuilder
Creates a new builder-style object to manufacture CreateRelatedItemInput
.
Trait Implementations§
source§impl Clone for CreateRelatedItemInput
impl Clone for CreateRelatedItemInput
source§fn clone(&self) -> CreateRelatedItemInput
fn clone(&self) -> CreateRelatedItemInput
Returns a copy 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 CreateRelatedItemInput
impl Debug for CreateRelatedItemInput
source§impl PartialEq for CreateRelatedItemInput
impl PartialEq for CreateRelatedItemInput
source§fn eq(&self, other: &CreateRelatedItemInput) -> bool
fn eq(&self, other: &CreateRelatedItemInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRelatedItemInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateRelatedItemInput
impl Send for CreateRelatedItemInput
impl Sync for CreateRelatedItemInput
impl Unpin for CreateRelatedItemInput
impl UnwindSafe for CreateRelatedItemInput
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