pub struct TranslationConfigBuilder(/* private fields */);Expand description
Builder for TranslationConfig.
Implementations§
Source§impl TranslationConfigBuilder
impl TranslationConfigBuilder
pub fn echo_target_language(self, value: impl Into<bool>) -> Self
pub fn target_language_code(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> TranslationConfig
pub fn build(self) -> TranslationConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for TranslationConfigBuilder
impl RefUnwindSafe for TranslationConfigBuilder
impl Send for TranslationConfigBuilder
impl Sync for TranslationConfigBuilder
impl Unpin for TranslationConfigBuilder
impl UnsafeUnpin for TranslationConfigBuilder
impl UnwindSafe for TranslationConfigBuilder
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