pub enum ModelSortField {
Name,
Provider,
AiService,
}Expand description
Sort field for models.
Variants§
Trait Implementations§
Source§impl Clone for ModelSortField
impl Clone for ModelSortField
Source§fn clone(&self) -> ModelSortField
fn clone(&self) -> ModelSortField
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 ModelSortField
impl Debug for ModelSortField
Source§impl Default for ModelSortField
impl Default for ModelSortField
Source§fn default() -> ModelSortField
fn default() -> ModelSortField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelSortField
impl<'de> Deserialize<'de> for ModelSortField
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 Serialize for ModelSortField
impl Serialize for ModelSortField
impl Copy for ModelSortField
Auto Trait Implementations§
impl Freeze for ModelSortField
impl RefUnwindSafe for ModelSortField
impl Send for ModelSortField
impl Sync for ModelSortField
impl Unpin for ModelSortField
impl UnwindSafe for ModelSortField
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