pub struct OutputLogprob {
pub token: String,
pub bytes: Vec<i64>,
pub logprob: Number,
pub top_logprobs: Vec<TopLogprob>,
pub rest: Rest,
}Fields§
§token: String§bytes: Vec<i64>§logprob: Number§top_logprobs: Vec<TopLogprob>§rest: RestImplementations§
Source§impl OutputLogprob
impl OutputLogprob
Sourcepub fn builder(
token: String,
bytes: Vec<i64>,
logprob: Number,
top_logprobs: Vec<TopLogprob>,
) -> OutputLogprobBuilder
pub fn builder( token: String, bytes: Vec<i64>, logprob: Number, top_logprobs: Vec<TopLogprob>, ) -> OutputLogprobBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for OutputLogprob
impl Clone for OutputLogprob
Source§impl Debug for OutputLogprob
impl Debug for OutputLogprob
Source§impl DeclaredFields for OutputLogprob
impl DeclaredFields for OutputLogprob
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for OutputLogprob
impl<'de> Deserialize<'de> for OutputLogprob
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
impl Eq for OutputLogprob
Source§impl PartialEq for OutputLogprob
impl PartialEq for OutputLogprob
Source§impl Serialize for OutputLogprob
impl Serialize for OutputLogprob
impl StructuralPartialEq for OutputLogprob
Auto Trait Implementations§
impl Freeze for OutputLogprob
impl RefUnwindSafe for OutputLogprob
impl Send for OutputLogprob
impl Sync for OutputLogprob
impl Unpin for OutputLogprob
impl UnsafeUnpin for OutputLogprob
impl UnwindSafe for OutputLogprob
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