pub struct OnDeviceModelRequest {
pub model_id: String,
}Expand description
Body for POST /api/on-device-model/download.
Fields§
§model_id: StringTrait Implementations§
Source§impl Clone for OnDeviceModelRequest
impl Clone for OnDeviceModelRequest
Source§fn clone(&self) -> OnDeviceModelRequest
fn clone(&self) -> OnDeviceModelRequest
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 moreSource§impl Debug for OnDeviceModelRequest
impl Debug for OnDeviceModelRequest
Source§impl<'de> Deserialize<'de> for OnDeviceModelRequest
impl<'de> Deserialize<'de> for OnDeviceModelRequest
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 OnDeviceModelRequest
Source§impl PartialEq for OnDeviceModelRequest
impl PartialEq for OnDeviceModelRequest
Source§impl Serialize for OnDeviceModelRequest
impl Serialize for OnDeviceModelRequest
impl StructuralPartialEq for OnDeviceModelRequest
Auto Trait Implementations§
impl Freeze for OnDeviceModelRequest
impl RefUnwindSafe for OnDeviceModelRequest
impl Send for OnDeviceModelRequest
impl Sync for OnDeviceModelRequest
impl Unpin for OnDeviceModelRequest
impl UnsafeUnpin for OnDeviceModelRequest
impl UnwindSafe for OnDeviceModelRequest
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