#[non_exhaustive]pub struct UpdateGlossaryTermInput {
pub identifier: Option<String>,
pub name: Option<String>,
pub short_description: Option<String>,
pub long_description: Option<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.identifier: Option<String>The unique identifier of the glossary term to update.
name: Option<String>The updated name of the glossary term.
short_description: Option<String>The new short description. Omit it to keep the current one; set it to an empty string to clear it.
long_description: Option<String>The new long description. Omit it to keep the current one; set it to an empty string to clear it.
client_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Implementations§
Source§impl UpdateGlossaryTermInput
impl UpdateGlossaryTermInput
Sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The unique identifier of the glossary term to update.
Sourcepub fn short_description(&self) -> Option<&str>
pub fn short_description(&self) -> Option<&str>
The new short description. Omit it to keep the current one; set it to an empty string to clear it.
Sourcepub fn long_description(&self) -> Option<&str>
pub fn long_description(&self) -> Option<&str>
The new long description. Omit it to keep the current one; set it to an empty string to clear it.
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 UpdateGlossaryTermInput
impl UpdateGlossaryTermInput
Sourcepub fn builder() -> UpdateGlossaryTermInputBuilder
pub fn builder() -> UpdateGlossaryTermInputBuilder
Creates a new builder-style object to manufacture UpdateGlossaryTermInput.
Source§impl UpdateGlossaryTermInput
impl UpdateGlossaryTermInput
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for UpdateGlossaryTermInput
impl Clone for UpdateGlossaryTermInput
Source§fn clone(&self) -> UpdateGlossaryTermInput
fn clone(&self) -> UpdateGlossaryTermInput
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 UpdateGlossaryTermInput
impl Debug for UpdateGlossaryTermInput
Source§impl PartialEq for UpdateGlossaryTermInput
impl PartialEq for UpdateGlossaryTermInput
Source§impl SerializableStruct for UpdateGlossaryTermInput
impl SerializableStruct for UpdateGlossaryTermInput
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for UpdateGlossaryTermInput
Auto Trait Implementations§
impl Freeze for UpdateGlossaryTermInput
impl RefUnwindSafe for UpdateGlossaryTermInput
impl Send for UpdateGlossaryTermInput
impl Sync for UpdateGlossaryTermInput
impl Unpin for UpdateGlossaryTermInput
impl UnsafeUnpin for UpdateGlossaryTermInput
impl UnwindSafe for UpdateGlossaryTermInput
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