pub struct AutoContext {
pub on: AutoContextOn,
pub top_k: Option<u32>,
pub max_bytes: Option<u64>,
}Fields§
§on: AutoContextOn§top_k: Option<u32>§max_bytes: Option<u64>Trait Implementations§
Source§impl Clone for AutoContext
impl Clone for AutoContext
Source§fn clone(&self) -> AutoContext
fn clone(&self) -> AutoContext
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 AutoContext
impl Debug for AutoContext
Source§impl Default for AutoContext
impl Default for AutoContext
Source§fn default() -> AutoContext
fn default() -> AutoContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoContextwhere
AutoContext: Default,
impl<'de> Deserialize<'de> for AutoContextwhere
AutoContext: Default,
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 AutoContext
impl PartialEq for AutoContext
impl StructuralPartialEq for AutoContext
Auto Trait Implementations§
impl Freeze for AutoContext
impl RefUnwindSafe for AutoContext
impl Send for AutoContext
impl Sync for AutoContext
impl Unpin for AutoContext
impl UnsafeUnpin for AutoContext
impl UnwindSafe for AutoContext
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