pub enum ModelLocation {
Path(String),
Uri(String),
Embedded(String),
Memory,
}Variants§
Trait Implementations§
Source§impl Clone for ModelLocation
impl Clone for ModelLocation
Source§impl Debug for ModelLocation
impl Debug for ModelLocation
Source§impl<'de> Deserialize<'de> for ModelLocation
impl<'de> Deserialize<'de> for ModelLocation
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 ModelLocation
Source§impl PartialEq for ModelLocation
impl PartialEq for ModelLocation
Source§impl Serialize for ModelLocation
impl Serialize for ModelLocation
impl StructuralPartialEq for ModelLocation
Auto Trait Implementations§
impl Freeze for ModelLocation
impl RefUnwindSafe for ModelLocation
impl Send for ModelLocation
impl Sync for ModelLocation
impl Unpin for ModelLocation
impl UnsafeUnpin for ModelLocation
impl UnwindSafe for ModelLocation
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