Struct aws_sdk_translate::types::builders::TermBuilder
source · #[non_exhaustive]pub struct TermBuilder { /* private fields */ }Expand description
A builder for Term.
Implementations§
source§impl TermBuilder
impl TermBuilder
sourcepub fn source_text(self, input: impl Into<String>) -> Self
pub fn source_text(self, input: impl Into<String>) -> Self
The source text of the term being translated by the custom terminology.
sourcepub fn set_source_text(self, input: Option<String>) -> Self
pub fn set_source_text(self, input: Option<String>) -> Self
The source text of the term being translated by the custom terminology.
sourcepub fn get_source_text(&self) -> &Option<String>
pub fn get_source_text(&self) -> &Option<String>
The source text of the term being translated by the custom terminology.
sourcepub fn target_text(self, input: impl Into<String>) -> Self
pub fn target_text(self, input: impl Into<String>) -> Self
The target text of the term being translated by the custom terminology.
sourcepub fn set_target_text(self, input: Option<String>) -> Self
pub fn set_target_text(self, input: Option<String>) -> Self
The target text of the term being translated by the custom terminology.
sourcepub fn get_target_text(&self) -> &Option<String>
pub fn get_target_text(&self) -> &Option<String>
The target text of the term being translated by the custom terminology.
Trait Implementations§
source§impl Clone for TermBuilder
impl Clone for TermBuilder
source§fn clone(&self) -> TermBuilder
fn clone(&self) -> TermBuilder
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 TermBuilder
impl Debug for TermBuilder
source§impl Default for TermBuilder
impl Default for TermBuilder
source§fn default() -> TermBuilder
fn default() -> TermBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TermBuilder
impl PartialEq for TermBuilder
source§fn eq(&self, other: &TermBuilder) -> bool
fn eq(&self, other: &TermBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TermBuilder
Auto Trait Implementations§
impl Freeze for TermBuilder
impl RefUnwindSafe for TermBuilder
impl Send for TermBuilder
impl Sync for TermBuilder
impl Unpin for TermBuilder
impl UnwindSafe for TermBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.