pub enum InputKinds {
Text,
TextImage,
}Expand description
What a model accepts as input.
A closed judgement rather than a set of flags: every row answers it, and the answer decides whether a picture may be sent at all. The default is the narrow one, because guessing narrow costs a refusal a person can act on and guessing wide costs a 400 from the provider.
Variants§
Trait Implementations§
Source§impl Clone for InputKinds
impl Clone for InputKinds
impl Copy for InputKinds
Source§impl Debug for InputKinds
impl Debug for InputKinds
Source§impl Default for InputKinds
impl Default for InputKinds
Source§impl<'de> Deserialize<'de> for InputKinds
impl<'de> Deserialize<'de> for InputKinds
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
impl Eq for InputKinds
Source§impl PartialEq for InputKinds
impl PartialEq for InputKinds
Source§impl Serialize for InputKinds
impl Serialize for InputKinds
impl StructuralPartialEq for InputKinds
Auto Trait Implementations§
impl Freeze for InputKinds
impl RefUnwindSafe for InputKinds
impl Send for InputKinds
impl Sync for InputKinds
impl Unpin for InputKinds
impl UnsafeUnpin for InputKinds
impl UnwindSafe for InputKinds
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