#[non_exhaustive]pub struct NewCustomVocabularyItem { /* private fields */ }Expand description
The new custom vocabulary item from the custom vocabulary list.
Implementations§
source§impl NewCustomVocabularyItem
impl NewCustomVocabularyItem
sourcepub fn phrase(&self) -> Option<&str>
pub fn phrase(&self) -> Option<&str>
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
sourcepub fn weight(&self) -> Option<i32>
pub fn weight(&self) -> Option<i32>
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
sourcepub fn display_as(&self) -> Option<&str>
pub fn display_as(&self) -> Option<&str>
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
source§impl NewCustomVocabularyItem
impl NewCustomVocabularyItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NewCustomVocabularyItem.
Trait Implementations§
source§impl Clone for NewCustomVocabularyItem
impl Clone for NewCustomVocabularyItem
source§fn clone(&self) -> NewCustomVocabularyItem
fn clone(&self) -> NewCustomVocabularyItem
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 NewCustomVocabularyItem
impl Debug for NewCustomVocabularyItem
source§impl PartialEq<NewCustomVocabularyItem> for NewCustomVocabularyItem
impl PartialEq<NewCustomVocabularyItem> for NewCustomVocabularyItem
source§fn eq(&self, other: &NewCustomVocabularyItem) -> bool
fn eq(&self, other: &NewCustomVocabularyItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.