pub struct ModelImportSnapshot {
pub operation_id: String,
pub model_id: String,
pub display_name: String,
pub artifact_sha256: String,
pub size_bytes: u64,
pub received_bytes: u64,
pub state: ModelImportState,
pub status: String,
pub started_at_epoch_ms: i64,
pub updated_at_epoch_ms: i64,
pub cancellable: bool,
pub error: Option<ModelImportError>,
}Fields§
§operation_id: String§model_id: String§display_name: String§artifact_sha256: String§size_bytes: u64§received_bytes: u64§state: ModelImportState§status: String§started_at_epoch_ms: i64§updated_at_epoch_ms: i64§cancellable: bool§error: Option<ModelImportError>Trait Implementations§
Source§impl Clone for ModelImportSnapshot
impl Clone for ModelImportSnapshot
Source§fn clone(&self) -> ModelImportSnapshot
fn clone(&self) -> ModelImportSnapshot
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 ModelImportSnapshot
impl Debug for ModelImportSnapshot
Source§impl<'de> Deserialize<'de> for ModelImportSnapshot
impl<'de> Deserialize<'de> for ModelImportSnapshot
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 ModelImportSnapshot
impl RefUnwindSafe for ModelImportSnapshot
impl Send for ModelImportSnapshot
impl Sync for ModelImportSnapshot
impl Unpin for ModelImportSnapshot
impl UnsafeUnpin for ModelImportSnapshot
impl UnwindSafe for ModelImportSnapshot
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