pub enum ContextWindowSource {
Runtime,
Provider,
Community,
}Expand description
Source of the context window information
JSON schema
{
"description": "Source of the context window information",
"type": "string",
"enum": [
"runtime",
"provider",
"community"
]
}Variants§
Trait Implementations§
Source§impl Clone for ContextWindowSource
impl Clone for ContextWindowSource
Source§fn clone(&self) -> ContextWindowSource
fn clone(&self) -> ContextWindowSource
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 ContextWindowSource
Source§impl Debug for ContextWindowSource
impl Debug for ContextWindowSource
Source§impl<'de> Deserialize<'de> for ContextWindowSource
impl<'de> Deserialize<'de> for ContextWindowSource
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 Display for ContextWindowSource
impl Display for ContextWindowSource
impl Eq for ContextWindowSource
Source§impl FromStr for ContextWindowSource
impl FromStr for ContextWindowSource
Source§impl Hash for ContextWindowSource
impl Hash for ContextWindowSource
Source§impl Ord for ContextWindowSource
impl Ord for ContextWindowSource
Source§fn cmp(&self, other: &ContextWindowSource) -> Ordering
fn cmp(&self, other: &ContextWindowSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContextWindowSource
impl PartialEq for ContextWindowSource
Source§impl PartialOrd for ContextWindowSource
impl PartialOrd for ContextWindowSource
Source§impl Serialize for ContextWindowSource
impl Serialize for ContextWindowSource
impl StructuralPartialEq for ContextWindowSource
Source§impl TryFrom<&String> for ContextWindowSource
impl TryFrom<&String> for ContextWindowSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ContextWindowSource
impl TryFrom<&str> for ContextWindowSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ContextWindowSource
impl TryFrom<String> for ContextWindowSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ContextWindowSource
impl RefUnwindSafe for ContextWindowSource
impl Send for ContextWindowSource
impl Sync for ContextWindowSource
impl Unpin for ContextWindowSource
impl UnsafeUnpin for ContextWindowSource
impl UnwindSafe for ContextWindowSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.