pub struct StreamLogprobBuilder(/* private fields */);Expand description
Builder for StreamLogprob.
Implementations§
Source§impl StreamLogprobBuilder
impl StreamLogprobBuilder
pub fn top_logprobs(self, value: impl Into<Vec<StreamTopLogprob>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> StreamLogprob
pub fn build(self) -> StreamLogprob
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for StreamLogprobBuilder
impl RefUnwindSafe for StreamLogprobBuilder
impl Send for StreamLogprobBuilder
impl Sync for StreamLogprobBuilder
impl Unpin for StreamLogprobBuilder
impl UnsafeUnpin for StreamLogprobBuilder
impl UnwindSafe for StreamLogprobBuilder
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