pub struct Artifact {
pub filename: String,
pub size_bytes: u64,
pub checksum_algorithm: String,
pub checksum_value: String,
pub compression: Option<String>,
pub encrypted: bool,
}Expand description
A single backup artifact
Fields§
§filename: StringFilename of the artifact
size_bytes: u64Size in bytes
checksum_algorithm: StringChecksum algorithm (e.g., “sha256”)
checksum_value: StringChecksum value
compression: Option<String>Compression algorithm (if any)
encrypted: boolWhether the artifact is encrypted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Artifact
impl<'de> Deserialize<'de> for Artifact
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 Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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