Struct comfyui_api::models::websocket::Progress
source · pub struct Progress {
pub value: u64,
pub max: u64,
}
Expand description
Struct representing a progress update.
Fields§
§value: u64
The current progress value.
max: u64
The maximum progress value.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Progress
impl<'de> Deserialize<'de> for Progress
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 Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnwindSafe for Progress
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