pub struct AutosuggestGeneratedCandidateId {
pub token_id: u32,
pub model_rank: usize,
pub model_score: f32,
}Fields§
§token_id: u32§model_rank: usize§model_score: f32Trait Implementations§
Source§impl Clone for AutosuggestGeneratedCandidateId
impl Clone for AutosuggestGeneratedCandidateId
Source§fn clone(&self) -> AutosuggestGeneratedCandidateId
fn clone(&self) -> AutosuggestGeneratedCandidateId
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 moreimpl Copy for AutosuggestGeneratedCandidateId
impl StructuralPartialEq for AutosuggestGeneratedCandidateId
Auto Trait Implementations§
impl Freeze for AutosuggestGeneratedCandidateId
impl RefUnwindSafe for AutosuggestGeneratedCandidateId
impl Send for AutosuggestGeneratedCandidateId
impl Sync for AutosuggestGeneratedCandidateId
impl Unpin for AutosuggestGeneratedCandidateId
impl UnsafeUnpin for AutosuggestGeneratedCandidateId
impl UnwindSafe for AutosuggestGeneratedCandidateId
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