pub struct CreateTranscriptionResponseJsonLogprob {
pub token: Option<String>,
pub logprob: Option<Number>,
pub bytes: Option<Vec<Number>>,
}
Fields§
§token: Option<String>
The token in the transcription.
logprob: Option<Number>
The log probability of the token.
bytes: Option<Vec<Number>>
The bytes of the token.
Implementations§
Source§impl CreateTranscriptionResponseJsonLogprob
impl CreateTranscriptionResponseJsonLogprob
Sourcepub fn builder() -> CreateTranscriptionResponseJsonLogprobBuilder<((), (), ())>
pub fn builder() -> CreateTranscriptionResponseJsonLogprobBuilder<((), (), ())>
Create a builder for building CreateTranscriptionResponseJsonLogprob
.
On the builder, call .token(...)
(optional), .logprob(...)
(optional), .bytes(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CreateTranscriptionResponseJsonLogprob
.
Trait Implementations§
Source§impl Clone for CreateTranscriptionResponseJsonLogprob
impl Clone for CreateTranscriptionResponseJsonLogprob
Source§fn clone(&self) -> CreateTranscriptionResponseJsonLogprob
fn clone(&self) -> CreateTranscriptionResponseJsonLogprob
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateTranscriptionResponseJsonLogprob
impl Default for CreateTranscriptionResponseJsonLogprob
Source§fn default() -> CreateTranscriptionResponseJsonLogprob
fn default() -> CreateTranscriptionResponseJsonLogprob
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTranscriptionResponseJsonLogprob
impl<'de> Deserialize<'de> for CreateTranscriptionResponseJsonLogprob
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateTranscriptionResponseJsonLogprob
impl PartialEq for CreateTranscriptionResponseJsonLogprob
Source§fn eq(&self, other: &CreateTranscriptionResponseJsonLogprob) -> bool
fn eq(&self, other: &CreateTranscriptionResponseJsonLogprob) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateTranscriptionResponseJsonLogprob
Auto Trait Implementations§
impl Freeze for CreateTranscriptionResponseJsonLogprob
impl RefUnwindSafe for CreateTranscriptionResponseJsonLogprob
impl Send for CreateTranscriptionResponseJsonLogprob
impl Sync for CreateTranscriptionResponseJsonLogprob
impl Unpin for CreateTranscriptionResponseJsonLogprob
impl UnwindSafe for CreateTranscriptionResponseJsonLogprob
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