pub enum OperationFamily {
Show 18 variants
ModelList,
ModelGet,
CountToken,
Compact,
GenerateContent,
StreamGenerateContent,
CreateImage,
StreamCreateImage,
CreateImageEdit,
StreamCreateImageEdit,
OpenAiResponseWebSocket,
GeminiLive,
Embedding,
FileUpload,
FileList,
FileGet,
FileContent,
FileDelete,
}Expand description
Protocol-agnostic operation family derived from an API route.
Variants§
ModelList
ModelGet
CountToken
Compact
GenerateContent
StreamGenerateContent
CreateImage
StreamCreateImage
CreateImageEdit
StreamCreateImageEdit
OpenAiResponseWebSocket
GeminiLive
Embedding
FileUpload
FileList
FileGet
FileContent
FileDelete
Implementations§
Trait Implementations§
Source§impl Clone for OperationFamily
impl Clone for OperationFamily
Source§fn clone(&self) -> OperationFamily
fn clone(&self) -> OperationFamily
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 moreSource§impl Debug for OperationFamily
impl Debug for OperationFamily
Source§impl<'de> Deserialize<'de> for OperationFamily
impl<'de> Deserialize<'de> for OperationFamily
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 OperationFamily
impl Display for OperationFamily
Source§impl Hash for OperationFamily
impl Hash for OperationFamily
Source§impl PartialEq for OperationFamily
impl PartialEq for OperationFamily
Source§impl Serialize for OperationFamily
impl Serialize for OperationFamily
Source§impl TryFrom<&str> for OperationFamily
impl TryFrom<&str> for OperationFamily
Source§impl TryFrom<String> for OperationFamily
impl TryFrom<String> for OperationFamily
impl Copy for OperationFamily
impl Eq for OperationFamily
impl StructuralPartialEq for OperationFamily
Auto Trait Implementations§
impl Freeze for OperationFamily
impl RefUnwindSafe for OperationFamily
impl Send for OperationFamily
impl Sync for OperationFamily
impl Unpin for OperationFamily
impl UnsafeUnpin for OperationFamily
impl UnwindSafe for OperationFamily
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