#[non_exhaustive]pub struct SearchRelatedItemsResponseItem {
pub related_item_id: String,
pub type: RelatedItemType,
pub association_time: DateTime,
pub content: Option<RelatedItemContent>,
pub tags: Option<HashMap<String, Option<String>>>,
pub performed_by: Option<UserUnion>,
}Expand description
A list of items that represent RelatedItems.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.Unique identifier of a related item.
type: RelatedItemTypeType of a related item.
association_time: DateTimeTime 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.
performed_by: Option<UserUnion>Represents the creator of the related item.
Implementations§
source§impl SearchRelatedItemsResponseItem
impl SearchRelatedItemsResponseItem
Unique identifier of a related item.
sourcepub fn type(&self) -> &RelatedItemType
pub fn type(&self) -> &RelatedItemType
Type of a related item.
sourcepub fn association_time(&self) -> &DateTime
pub fn association_time(&self) -> &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.
sourcepub fn performed_by(&self) -> Option<&UserUnion>
pub fn performed_by(&self) -> Option<&UserUnion>
Represents the creator of the related item.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for SearchRelatedItemsResponseItem
impl PartialEq for SearchRelatedItemsResponseItem
source§fn eq(&self, other: &SearchRelatedItemsResponseItem) -> bool
fn eq(&self, other: &SearchRelatedItemsResponseItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchRelatedItemsResponseItem
Auto Trait Implementations§
impl Freeze for SearchRelatedItemsResponseItem
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
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