pub struct UpdateModelsEvent {
pub status: String,
pub message: String,
pub field: String,
pub total: i32,
pub current: i32,
pub error: Option<String>,
}Fields§
§status: StringStatus of the update: “updating”, “success”, “error”, “complete”
message: StringHuman-readable message
field: StringModel field being updated
total: i32Total models to update
current: i32Current model number
error: Option<String>Error message if status is “error”
Trait Implementations§
Source§impl Clone for UpdateModelsEvent
impl Clone for UpdateModelsEvent
Source§fn clone(&self) -> UpdateModelsEvent
fn clone(&self) -> UpdateModelsEvent
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 UpdateModelsEvent
impl Debug for UpdateModelsEvent
Source§impl<'de> Deserialize<'de> for UpdateModelsEvent
impl<'de> Deserialize<'de> for UpdateModelsEvent
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 UpdateModelsEvent
impl RefUnwindSafe for UpdateModelsEvent
impl Send for UpdateModelsEvent
impl Sync for UpdateModelsEvent
impl Unpin for UpdateModelsEvent
impl UnsafeUnpin for UpdateModelsEvent
impl UnwindSafe for UpdateModelsEvent
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