pub struct LocalModelStorageInfo {
pub total_models: u32,
pub total_size_bytes: u64,
pub storage_path: String,
pub available_space_bytes: u64,
}Expand description
Local model storage information
Fields§
§total_models: u32Total number of models stored
total_size_bytes: u64Total size of all models in bytes
storage_path: StringLocal storage path
available_space_bytes: u64Available storage space in bytes
Trait Implementations§
Source§impl Clone for LocalModelStorageInfo
impl Clone for LocalModelStorageInfo
Source§fn clone(&self) -> LocalModelStorageInfo
fn clone(&self) -> LocalModelStorageInfo
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 moreAuto Trait Implementations§
impl Freeze for LocalModelStorageInfo
impl RefUnwindSafe for LocalModelStorageInfo
impl Send for LocalModelStorageInfo
impl Sync for LocalModelStorageInfo
impl Unpin for LocalModelStorageInfo
impl UnsafeUnpin for LocalModelStorageInfo
impl UnwindSafe for LocalModelStorageInfo
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