Struct aws_sdk_lexmodelsv2::types::CustomVocabularyItem
source · #[non_exhaustive]pub struct CustomVocabularyItem { /* private fields */ }Expand description
The unique custom vocabulary item from the custom vocabulary list.
Implementations§
source§impl CustomVocabularyItem
impl CustomVocabularyItem
sourcepub fn item_id(&self) -> Option<&str>
pub fn item_id(&self) -> Option<&str>
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
sourcepub fn phrase(&self) -> Option<&str>
pub fn phrase(&self) -> Option<&str>
The unique phrase for the custom vocabulary item from the custom vocabulary list.
sourcepub fn weight(&self) -> Option<i32>
pub fn weight(&self) -> Option<i32>
The weight assigned for the custom vocabulary item from the custom vocabulary list.
sourcepub fn display_as(&self) -> Option<&str>
pub fn display_as(&self) -> Option<&str>
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
source§impl CustomVocabularyItem
impl CustomVocabularyItem
sourcepub fn builder() -> CustomVocabularyItemBuilder
pub fn builder() -> CustomVocabularyItemBuilder
Creates a new builder-style object to manufacture CustomVocabularyItem.
Trait Implementations§
source§impl Clone for CustomVocabularyItem
impl Clone for CustomVocabularyItem
source§fn clone(&self) -> CustomVocabularyItem
fn clone(&self) -> CustomVocabularyItem
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 CustomVocabularyItem
impl Debug for CustomVocabularyItem
source§impl PartialEq<CustomVocabularyItem> for CustomVocabularyItem
impl PartialEq<CustomVocabularyItem> for CustomVocabularyItem
source§fn eq(&self, other: &CustomVocabularyItem) -> bool
fn eq(&self, other: &CustomVocabularyItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomVocabularyItem
Auto Trait Implementations§
impl RefUnwindSafe for CustomVocabularyItem
impl Send for CustomVocabularyItem
impl Sync for CustomVocabularyItem
impl Unpin for CustomVocabularyItem
impl UnwindSafe for CustomVocabularyItem
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