pub struct DeltaArtifact {
pub from_version: Option<String>,
pub from_sha256: String,
pub url: String,
pub sha256: String,
pub size: u64,
pub target_sha256: Option<String>,
pub target_size: Option<u64>,
pub algorithm: String,
}Fields§
§from_version: Option<String>§from_sha256: String§url: String§sha256: String§size: u64§target_sha256: Option<String>§target_size: Option<u64>§algorithm: StringTrait Implementations§
Source§impl Clone for DeltaArtifact
impl Clone for DeltaArtifact
Source§fn clone(&self) -> DeltaArtifact
fn clone(&self) -> DeltaArtifact
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 DeltaArtifact
impl Debug for DeltaArtifact
Source§impl<'de> Deserialize<'de> for DeltaArtifact
impl<'de> Deserialize<'de> for DeltaArtifact
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 DeltaArtifact
impl RefUnwindSafe for DeltaArtifact
impl Send for DeltaArtifact
impl Sync for DeltaArtifact
impl Unpin for DeltaArtifact
impl UnsafeUnpin for DeltaArtifact
impl UnwindSafe for DeltaArtifact
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