pub enum WeightSourceType {
File,
Url,
HuggingFace,
Memory,
S3,
}Expand description
Weight source types
Variants§
Trait Implementations§
Source§impl Clone for WeightSourceType
impl Clone for WeightSourceType
Source§fn clone(&self) -> WeightSourceType
fn clone(&self) -> WeightSourceType
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 WeightSourceType
impl Debug for WeightSourceType
Source§impl<'de> Deserialize<'de> for WeightSourceType
impl<'de> Deserialize<'de> for WeightSourceType
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 WeightSourceType
impl Serialize for WeightSourceType
impl Copy for WeightSourceType
Auto Trait Implementations§
impl Freeze for WeightSourceType
impl RefUnwindSafe for WeightSourceType
impl Send for WeightSourceType
impl Sync for WeightSourceType
impl Unpin for WeightSourceType
impl UnsafeUnpin for WeightSourceType
impl UnwindSafe for WeightSourceType
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