pub struct CaptureCandidate {
pub token_id: u32,
pub score: f32,
}Expand description
One exact vocabulary identity and finite raw model score.
Fields§
§token_id: u32Canonical tokenizer vocabulary ID.
score: f32F32 score at the declared processing stage.
Trait Implementations§
Source§impl Clone for CaptureCandidate
impl Clone for CaptureCandidate
Source§fn clone(&self) -> CaptureCandidate
fn clone(&self) -> CaptureCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureCandidate
impl Debug for CaptureCandidate
Source§impl<'de> Deserialize<'de> for CaptureCandidate
impl<'de> Deserialize<'de> for CaptureCandidate
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 CaptureCandidate
impl PartialEq for CaptureCandidate
Source§impl Serialize for CaptureCandidate
impl Serialize for CaptureCandidate
impl StructuralPartialEq for CaptureCandidate
Auto Trait Implementations§
impl Freeze for CaptureCandidate
impl RefUnwindSafe for CaptureCandidate
impl Send for CaptureCandidate
impl Sync for CaptureCandidate
impl Unpin for CaptureCandidate
impl UnsafeUnpin for CaptureCandidate
impl UnwindSafe for CaptureCandidate
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