pub struct ModelArtifactState {
pub path: PathBuf,
pub sha256: String,
pub provisioned: bool,
pub verified: bool,
}Fields§
§path: PathBuf§sha256: String§provisioned: bool§verified: boolTrue only after verify re-hashed the artifact on disk; a fetch alone
records provisioned, never verified.
Trait Implementations§
Source§impl Clone for ModelArtifactState
impl Clone for ModelArtifactState
Source§impl Debug for ModelArtifactState
impl Debug for ModelArtifactState
Source§impl<'de> Deserialize<'de> for ModelArtifactState
impl<'de> Deserialize<'de> for ModelArtifactState
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 Forget for ModelArtifactState
impl Freeze for ModelArtifactState
impl RefUnwindSafe for ModelArtifactState
impl Send for ModelArtifactState
impl Sync for ModelArtifactState
impl Unpin for ModelArtifactState
impl UnsafeUnpin for ModelArtifactState
impl UnwindSafe for ModelArtifactState
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