#[non_exhaustive]pub struct FailedCustomVocabularyItemBuilder { /* private fields */ }Expand description
A builder for FailedCustomVocabularyItem.
Implementations§
source§impl FailedCustomVocabularyItemBuilder
impl FailedCustomVocabularyItemBuilder
sourcepub fn item_id(self, input: impl Into<String>) -> Self
pub fn item_id(self, input: impl Into<String>) -> Self
The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn set_item_id(self, input: Option<String>) -> Self
pub fn set_item_id(self, input: Option<String>) -> Self
The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn get_item_id(&self) -> &Option<String>
pub fn get_item_id(&self) -> &Option<String>
The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn error_code(self, input: ErrorCode) -> Self
pub fn error_code(self, input: ErrorCode) -> Self
The unique error code for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn set_error_code(self, input: Option<ErrorCode>) -> Self
pub fn set_error_code(self, input: Option<ErrorCode>) -> Self
The unique error code for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn get_error_code(&self) -> &Option<ErrorCode>
pub fn get_error_code(&self) -> &Option<ErrorCode>
The unique error code for the failed custom vocabulary item from the custom vocabulary list.
sourcepub fn build(self) -> FailedCustomVocabularyItem
pub fn build(self) -> FailedCustomVocabularyItem
Consumes the builder and constructs a FailedCustomVocabularyItem.
Trait Implementations§
source§impl Clone for FailedCustomVocabularyItemBuilder
impl Clone for FailedCustomVocabularyItemBuilder
source§fn clone(&self) -> FailedCustomVocabularyItemBuilder
fn clone(&self) -> FailedCustomVocabularyItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for FailedCustomVocabularyItemBuilder
impl Default for FailedCustomVocabularyItemBuilder
source§fn default() -> FailedCustomVocabularyItemBuilder
fn default() -> FailedCustomVocabularyItemBuilder
source§impl PartialEq for FailedCustomVocabularyItemBuilder
impl PartialEq for FailedCustomVocabularyItemBuilder
source§fn eq(&self, other: &FailedCustomVocabularyItemBuilder) -> bool
fn eq(&self, other: &FailedCustomVocabularyItemBuilder) -> bool
self and other values to be equal, and is used
by ==.