Enum AiContextFitStatus
pub enum AiContextFitStatus {
Fits,
Truncated,
Summarized,
Omitted,
Overflow,
}Variants§
Implementations§
§impl AiContextFitStatus
impl AiContextFitStatus
pub const ALL: &'static [AiContextFitStatus]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiContextFitStatus
impl Clone for AiContextFitStatus
§fn clone(&self) -> AiContextFitStatus
fn clone(&self) -> AiContextFitStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AiContextFitStatus
impl Debug for AiContextFitStatus
§impl Display for AiContextFitStatus
impl Display for AiContextFitStatus
§impl FromStr for AiContextFitStatus
impl FromStr for AiContextFitStatus
§type Err = AiContextError
type Err = AiContextError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiContextFitStatus, <AiContextFitStatus as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiContextFitStatus, <AiContextFitStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiContextFitStatus
impl Hash for AiContextFitStatus
§impl Ord for AiContextFitStatus
impl Ord for AiContextFitStatus
§fn cmp(&self, other: &AiContextFitStatus) -> Ordering
fn cmp(&self, other: &AiContextFitStatus) -> Ordering
1.21.0 · 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
§impl PartialEq for AiContextFitStatus
impl PartialEq for AiContextFitStatus
§impl PartialOrd for AiContextFitStatus
impl PartialOrd for AiContextFitStatus
impl Copy for AiContextFitStatus
impl Eq for AiContextFitStatus
impl StructuralPartialEq for AiContextFitStatus
Auto Trait Implementations§
impl Freeze for AiContextFitStatus
impl RefUnwindSafe for AiContextFitStatus
impl Send for AiContextFitStatus
impl Sync for AiContextFitStatus
impl Unpin for AiContextFitStatus
impl UnsafeUnpin for AiContextFitStatus
impl UnwindSafe for AiContextFitStatus
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