pub enum AiModelAvailability {
Available,
Blocked,
Unknown,
}Expand description
AiModelAvailability
JSON schema
{
"type": "string",
"enum": [
"available",
"blocked",
"unknown"
]
}Variants§
Trait Implementations§
Source§impl Clone for AiModelAvailability
impl Clone for AiModelAvailability
impl Copy for AiModelAvailability
Source§impl Debug for AiModelAvailability
impl Debug for AiModelAvailability
Source§impl<'de> Deserialize<'de> for AiModelAvailability
impl<'de> Deserialize<'de> for AiModelAvailability
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 AiModelAvailability
impl Display for AiModelAvailability
impl Eq for AiModelAvailability
Source§impl From<&AiModelAvailability> for AiModelAvailability
impl From<&AiModelAvailability> for AiModelAvailability
Source§fn from(value: &AiModelAvailability) -> Self
fn from(value: &AiModelAvailability) -> Self
Converts to this type from the input type.
Source§impl FromStr for AiModelAvailability
impl FromStr for AiModelAvailability
Source§impl Hash for AiModelAvailability
impl Hash for AiModelAvailability
Source§impl Ord for AiModelAvailability
impl Ord for AiModelAvailability
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 AiModelAvailability
impl PartialEq for AiModelAvailability
Source§impl PartialOrd for AiModelAvailability
impl PartialOrd for AiModelAvailability
Source§impl Serialize for AiModelAvailability
impl Serialize for AiModelAvailability
impl StructuralPartialEq for AiModelAvailability
Source§impl TryFrom<&String> for AiModelAvailability
impl TryFrom<&String> for AiModelAvailability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AiModelAvailability
impl TryFrom<&str> for AiModelAvailability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AiModelAvailability
impl TryFrom<String> for AiModelAvailability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for AiModelAvailability
impl Freeze for AiModelAvailability
impl Move for AiModelAvailability
impl RefUnwindSafe for AiModelAvailability
impl Send for AiModelAvailability
impl Sync for AiModelAvailability
impl Unpin for AiModelAvailability
impl UnsafeUnpin for AiModelAvailability
impl UnwindSafe for AiModelAvailability
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