pub struct CreateGlossary<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CreateGlossary<'a>
impl<'a> CreateGlossary<'a>
Sourcepub fn builder() -> CreateGlossaryBuilder<'a, ((), (), (), (), (), ())>
pub fn builder() -> CreateGlossaryBuilder<'a, ((), (), (), (), (), ())>
Create a builder for building CreateGlossary
.
On the builder, call .client(...)
, .name(...)
, .source_lang(...)
, .target_lang(...)
, .entries(...)
, .format(...)
(optional) to set the values of the fields.
Finally, call .send()
to create the instance of CreateGlossary
.
Trait Implementations§
Source§impl<'a> Debug for CreateGlossary<'a>
impl<'a> Debug for CreateGlossary<'a>
Source§impl<'a> IntoFuture for CreateGlossary<'a>
impl<'a> IntoFuture for CreateGlossary<'a>
Source§type Output = Result<GlossaryResp, Error>
type Output = Result<GlossaryResp, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateGlossary<'a> as IntoFuture>::Output> + Sync + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateGlossary<'a> as IntoFuture>::Output> + Sync + Send + 'a>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for CreateGlossary<'a>
impl<'a> !RefUnwindSafe for CreateGlossary<'a>
impl<'a> Send for CreateGlossary<'a>
impl<'a> Sync for CreateGlossary<'a>
impl<'a> Unpin for CreateGlossary<'a>
impl<'a> !UnwindSafe for CreateGlossary<'a>
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