Struct libretranslate::TranslationBuilder [−][src]
pub struct TranslationBuilder { pub url: String, pub source: Language, pub target: Language, pub input: String, // some fields omitted }
Expand description
Build Translations more verbosely.
Fields
url: String
source: Language
target: Language
input: String
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TranslationBuilder
impl Send for TranslationBuilder
impl Sync for TranslationBuilder
impl Unpin for TranslationBuilder
impl UnwindSafe for TranslationBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more