Struct rust_bert::pipelines::generation_utils::GeneratedTextOutput
source · [−]Expand description
Generated text output
Contains generated text and an optional log-likelihood score for the generated sequence
Fields
text: Stringscore: Option<f64>Trait Implementations
sourceimpl Clone for GeneratedTextOutput
impl Clone for GeneratedTextOutput
sourcefn clone(&self) -> GeneratedTextOutput
fn clone(&self) -> GeneratedTextOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for GeneratedTextOutput
impl Send for GeneratedTextOutput
impl Sync for GeneratedTextOutput
impl Unpin for GeneratedTextOutput
impl UnwindSafe for GeneratedTextOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more