pub struct TiktokenConfig {
pub encoding: String,
pub allowed_special: AllowedSpecial,
}Fields§
§encoding: String§allowed_special: AllowedSpecialTrait Implementations§
Source§impl Clone for TiktokenConfig
impl Clone for TiktokenConfig
Source§fn clone(&self) -> TiktokenConfig
fn clone(&self) -> TiktokenConfig
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 TiktokenConfig
impl Debug for TiktokenConfig
Source§impl Default for TiktokenConfig
impl Default for TiktokenConfig
impl Eq for TiktokenConfig
Source§impl PartialEq for TiktokenConfig
impl PartialEq for TiktokenConfig
impl StructuralPartialEq for TiktokenConfig
Auto Trait Implementations§
impl Freeze for TiktokenConfig
impl RefUnwindSafe for TiktokenConfig
impl Send for TiktokenConfig
impl Sync for TiktokenConfig
impl Unpin for TiktokenConfig
impl UnsafeUnpin for TiktokenConfig
impl UnwindSafe for TiktokenConfig
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