pub struct PullProgress {
pub status: String,
pub completed: u64,
pub total: u64,
}Expand description
Progress information during model pull/download.
Fields§
§status: StringCurrent status message (e.g., “pulling manifest”, “downloading”).
completed: u64Bytes completed.
total: u64Total bytes to download.
Implementations§
Trait Implementations§
Source§impl Clone for PullProgress
impl Clone for PullProgress
Source§fn clone(&self) -> PullProgress
fn clone(&self) -> PullProgress
Returns a duplicate 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 PullProgress
impl Debug for PullProgress
Source§impl<'de> Deserialize<'de> for PullProgress
impl<'de> Deserialize<'de> for PullProgress
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PullProgress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PullProgress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PullProgress
impl Display for PullProgress
Source§impl PartialEq for PullProgress
impl PartialEq for PullProgress
Source§impl Serialize for PullProgress
impl Serialize for PullProgress
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PullProgress
impl StructuralPartialEq for PullProgress
Auto Trait Implementations§
impl Freeze for PullProgress
impl RefUnwindSafe for PullProgress
impl Send for PullProgress
impl Sync for PullProgress
impl Unpin for PullProgress
impl UnsafeUnpin for PullProgress
impl UnwindSafe for PullProgress
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