Struct ollama_rs::models::pull::PullModelStatus
source · pub struct PullModelStatus {
pub message: String,
pub digest: Option<String>,
pub total: Option<u64>,
pub completed: Option<u64>,
}
Expand description
A pull model status response from Ollama.
Fields§
§message: String
§digest: Option<String>
§total: Option<u64>
§completed: Option<u64>
Trait Implementations§
source§impl Clone for PullModelStatus
impl Clone for PullModelStatus
source§fn clone(&self) -> PullModelStatus
fn clone(&self) -> PullModelStatus
Returns a copy of the value. Read more
1.0.0 · 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 PullModelStatus
impl Debug for PullModelStatus
source§impl<'de> Deserialize<'de> for PullModelStatus
impl<'de> Deserialize<'de> for PullModelStatus
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
Auto Trait Implementations§
impl RefUnwindSafe for PullModelStatus
impl Send for PullModelStatus
impl Sync for PullModelStatus
impl Unpin for PullModelStatus
impl UnwindSafe for PullModelStatus
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