pub enum ModelApi {
Aisdk {
id: String,
package: String,
settings: Option<Map<String, Value>>,
url: Option<String>,
},
Native {
id: String,
settings: Map<String, Value>,
url: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelApi
impl<'de> Deserialize<'de> for ModelApi
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 StructuralPartialEq for ModelApi
Auto Trait Implementations§
impl Freeze for ModelApi
impl RefUnwindSafe for ModelApi
impl Send for ModelApi
impl Sync for ModelApi
impl Unpin for ModelApi
impl UnsafeUnpin for ModelApi
impl UnwindSafe for ModelApi
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