pub struct UserTurnCandidate {
pub id: String,
pub bytes: usize,
}Expand description
The current user turn, kept outside ordinary budget eviction.
Fields§
§id: StringStable id for the turn within the session.
bytes: usizeEstimated UTF-8 byte size of the user turn text.
Implementations§
Trait Implementations§
Source§impl Clone for UserTurnCandidate
impl Clone for UserTurnCandidate
Source§fn clone(&self) -> UserTurnCandidate
fn clone(&self) -> UserTurnCandidate
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 UserTurnCandidate
impl Debug for UserTurnCandidate
impl Eq for UserTurnCandidate
Source§impl PartialEq for UserTurnCandidate
impl PartialEq for UserTurnCandidate
impl StructuralPartialEq for UserTurnCandidate
Auto Trait Implementations§
impl Freeze for UserTurnCandidate
impl RefUnwindSafe for UserTurnCandidate
impl Send for UserTurnCandidate
impl Sync for UserTurnCandidate
impl Unpin for UserTurnCandidate
impl UnsafeUnpin for UserTurnCandidate
impl UnwindSafe for UserTurnCandidate
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