#[non_exhaustive]pub enum UploadFilePurpose {
Assistants,
Batch,
FineTune,
Vision,
UserData,
Evals,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for UploadFilePurpose
impl Clone for UploadFilePurpose
impl Copy for UploadFilePurpose
Source§impl Debug for UploadFilePurpose
impl Debug for UploadFilePurpose
Source§impl DeclaredFields for UploadFilePurpose
impl DeclaredFields for UploadFilePurpose
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for UploadFilePurpose
impl<'de> Deserialize<'de> for UploadFilePurpose
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 UploadFilePurpose
Source§impl PartialEq for UploadFilePurpose
impl PartialEq for UploadFilePurpose
Source§impl Serialize for UploadFilePurpose
impl Serialize for UploadFilePurpose
impl StructuralPartialEq for UploadFilePurpose
Auto Trait Implementations§
impl Freeze for UploadFilePurpose
impl RefUnwindSafe for UploadFilePurpose
impl Send for UploadFilePurpose
impl Sync for UploadFilePurpose
impl Unpin for UploadFilePurpose
impl UnsafeUnpin for UploadFilePurpose
impl UnwindSafe for UploadFilePurpose
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