pub struct OnDeviceModelEntry {
pub id: String,
pub display_name: String,
pub param_count: String,
pub ram_required_gb: f64,
pub file_size_gb: f64,
pub cached: bool,
}Fields§
§id: String§display_name: String§param_count: String§ram_required_gb: f64§file_size_gb: f64§cached: boolTrait Implementations§
Source§impl Clone for OnDeviceModelEntry
impl Clone for OnDeviceModelEntry
Source§fn clone(&self) -> OnDeviceModelEntry
fn clone(&self) -> OnDeviceModelEntry
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 OnDeviceModelEntry
impl Debug for OnDeviceModelEntry
Source§impl<'de> Deserialize<'de> for OnDeviceModelEntry
impl<'de> Deserialize<'de> for OnDeviceModelEntry
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 PartialEq for OnDeviceModelEntry
impl PartialEq for OnDeviceModelEntry
Source§impl Serialize for OnDeviceModelEntry
impl Serialize for OnDeviceModelEntry
impl StructuralPartialEq for OnDeviceModelEntry
Auto Trait Implementations§
impl Freeze for OnDeviceModelEntry
impl RefUnwindSafe for OnDeviceModelEntry
impl Send for OnDeviceModelEntry
impl Sync for OnDeviceModelEntry
impl Unpin for OnDeviceModelEntry
impl UnsafeUnpin for OnDeviceModelEntry
impl UnwindSafe for OnDeviceModelEntry
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