pub struct ModelDeletionReport {
pub model_id: String,
pub name: String,
pub kind: SourceKind,
pub trashed_paths: Vec<String>,
pub freed_bytes_estimate: i64,
pub daemon_deleted: bool,
}Expand description
The outcome of a deletion.
Fields§
§model_id: StringThe model’s stable id.
name: StringThe name shown.
kind: SourceKindThe model’s source kind.
trashed_paths: Vec<String>The paths that were trashed.
freed_bytes_estimate: i64The estimated bytes freed.
daemon_deleted: boolWhether the delete went through the Ollama daemon.
Trait Implementations§
Source§impl Clone for ModelDeletionReport
impl Clone for ModelDeletionReport
Source§fn clone(&self) -> ModelDeletionReport
fn clone(&self) -> ModelDeletionReport
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 ModelDeletionReport
impl Debug for ModelDeletionReport
impl Eq for ModelDeletionReport
Source§impl PartialEq for ModelDeletionReport
impl PartialEq for ModelDeletionReport
impl StructuralPartialEq for ModelDeletionReport
Auto Trait Implementations§
impl Freeze for ModelDeletionReport
impl RefUnwindSafe for ModelDeletionReport
impl Send for ModelDeletionReport
impl Sync for ModelDeletionReport
impl Unpin for ModelDeletionReport
impl UnsafeUnpin for ModelDeletionReport
impl UnwindSafe for ModelDeletionReport
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