pub enum ModelArtifactSourceRole {
Semantic,
Tokenizer,
Weights,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ModelArtifactSourceRole
impl Clone for ModelArtifactSourceRole
Source§fn clone(&self) -> ModelArtifactSourceRole
fn clone(&self) -> ModelArtifactSourceRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModelArtifactSourceRole
Source§impl Debug for ModelArtifactSourceRole
impl Debug for ModelArtifactSourceRole
Source§impl<'de> Deserialize<'de> for ModelArtifactSourceRole
impl<'de> Deserialize<'de> for ModelArtifactSourceRole
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 ModelArtifactSourceRole
Source§impl Ord for ModelArtifactSourceRole
impl Ord for ModelArtifactSourceRole
Source§fn cmp(&self, other: &ModelArtifactSourceRole) -> Ordering
fn cmp(&self, other: &ModelArtifactSourceRole) -> Ordering
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 ModelArtifactSourceRole
impl PartialEq for ModelArtifactSourceRole
Source§impl PartialOrd for ModelArtifactSourceRole
impl PartialOrd for ModelArtifactSourceRole
Source§impl Serialize for ModelArtifactSourceRole
impl Serialize for ModelArtifactSourceRole
impl StructuralPartialEq for ModelArtifactSourceRole
Auto Trait Implementations§
impl Freeze for ModelArtifactSourceRole
impl RefUnwindSafe for ModelArtifactSourceRole
impl Send for ModelArtifactSourceRole
impl Sync for ModelArtifactSourceRole
impl Unpin for ModelArtifactSourceRole
impl UnsafeUnpin for ModelArtifactSourceRole
impl UnwindSafe for ModelArtifactSourceRole
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