#[non_exhaustive]pub struct SearchRelatedItemsResponseItem {
pub related_item_id: Option<String>,
pub type: Option<RelatedItemType>,
pub association_time: Option<DateTime>,
pub content: Option<RelatedItemContent>,
pub tags: Option<HashMap<String, Option<String>>>,
}
Expand description
A list of items that represent RelatedItems.
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.Unique identifier of a related item.
type: Option<RelatedItemType>
Type of a related item.
association_time: Option<DateTime>
Time at which a related item was associated with a case.
content: Option<RelatedItemContent>
Represents the content of a particular type of related item.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
Implementations§
source§impl SearchRelatedItemsResponseItem
impl SearchRelatedItemsResponseItem
Unique identifier of a related item.
sourcepub fn type(&self) -> Option<&RelatedItemType>
pub fn type(&self) -> Option<&RelatedItemType>
Type of a related item.
sourcepub fn association_time(&self) -> Option<&DateTime>
pub fn association_time(&self) -> Option<&DateTime>
Time at which a related item was associated with a case.
sourcepub fn content(&self) -> Option<&RelatedItemContent>
pub fn content(&self) -> Option<&RelatedItemContent>
Represents the content of a particular type of related item.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
source§impl SearchRelatedItemsResponseItem
impl SearchRelatedItemsResponseItem
sourcepub fn builder() -> SearchRelatedItemsResponseItemBuilder
pub fn builder() -> SearchRelatedItemsResponseItemBuilder
Creates a new builder-style object to manufacture SearchRelatedItemsResponseItem
.
Trait Implementations§
source§impl Clone for SearchRelatedItemsResponseItem
impl Clone for SearchRelatedItemsResponseItem
source§fn clone(&self) -> SearchRelatedItemsResponseItem
fn clone(&self) -> SearchRelatedItemsResponseItem
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 PartialEq for SearchRelatedItemsResponseItem
impl PartialEq for SearchRelatedItemsResponseItem
source§fn eq(&self, other: &SearchRelatedItemsResponseItem) -> bool
fn eq(&self, other: &SearchRelatedItemsResponseItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchRelatedItemsResponseItem
Auto Trait Implementations§
impl RefUnwindSafe for SearchRelatedItemsResponseItem
impl Send for SearchRelatedItemsResponseItem
impl Sync for SearchRelatedItemsResponseItem
impl Unpin for SearchRelatedItemsResponseItem
impl UnwindSafe for SearchRelatedItemsResponseItem
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