#[non_exhaustive]pub struct AssociateGlossaryTermsInput {
pub asset_identifier: Option<String>,
pub iterable_form_name: Option<String>,
pub item_identifier: Option<String>,
pub glossary_term_identifiers: Option<Vec<String>>,
pub client_token: Option<String>,
}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.asset_identifier: Option<String>The unique identifier of the asset to associate glossary terms with.
iterable_form_name: Option<String>The name of the iterable form. When specified along with itemIdentifier, the glossary terms are associated with an item within the iterable form rather than the asset itself.
item_identifier: Option<String>The identifier of the item within the iterable form. Required when iterableFormName is specified.
glossary_term_identifiers: Option<Vec<String>>The list of glossary term identifiers to associate with the asset.
client_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Implementations§
Source§impl AssociateGlossaryTermsInput
impl AssociateGlossaryTermsInput
Sourcepub fn asset_identifier(&self) -> Option<&str>
pub fn asset_identifier(&self) -> Option<&str>
The unique identifier of the asset to associate glossary terms with.
Sourcepub fn iterable_form_name(&self) -> Option<&str>
pub fn iterable_form_name(&self) -> Option<&str>
The name of the iterable form. When specified along with itemIdentifier, the glossary terms are associated with an item within the iterable form rather than the asset itself.
Sourcepub fn item_identifier(&self) -> Option<&str>
pub fn item_identifier(&self) -> Option<&str>
The identifier of the item within the iterable form. Required when iterableFormName is specified.
Sourcepub fn glossary_term_identifiers(&self) -> &[String]
pub fn glossary_term_identifiers(&self) -> &[String]
The list of glossary term identifiers to associate with the asset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .glossary_term_identifiers.is_none().
Sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Source§impl AssociateGlossaryTermsInput
impl AssociateGlossaryTermsInput
Sourcepub fn builder() -> AssociateGlossaryTermsInputBuilder
pub fn builder() -> AssociateGlossaryTermsInputBuilder
Creates a new builder-style object to manufacture AssociateGlossaryTermsInput.
Trait Implementations§
Source§impl Clone for AssociateGlossaryTermsInput
impl Clone for AssociateGlossaryTermsInput
Source§fn clone(&self) -> AssociateGlossaryTermsInput
fn clone(&self) -> AssociateGlossaryTermsInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AssociateGlossaryTermsInput
impl Debug for AssociateGlossaryTermsInput
impl StructuralPartialEq for AssociateGlossaryTermsInput
Auto Trait Implementations§
impl Freeze for AssociateGlossaryTermsInput
impl RefUnwindSafe for AssociateGlossaryTermsInput
impl Send for AssociateGlossaryTermsInput
impl Sync for AssociateGlossaryTermsInput
impl Unpin for AssociateGlossaryTermsInput
impl UnsafeUnpin for AssociateGlossaryTermsInput
impl UnwindSafe for AssociateGlossaryTermsInput
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