pub struct PutArtifactResponse {
pub artifact_id: ArtifactId,
pub metadata: ArtifactMetadata,
pub compressed_size: u64,
pub original_size: u64,
}Expand description
Response from storing an artifact
Fields§
§artifact_id: ArtifactIdGenerated artifact ID
metadata: ArtifactMetadataFull metadata of the stored artifact
compressed_size: u64Size of the compressed content (bytes)
original_size: u64Size of the original content (bytes)
Trait Implementations§
Source§impl Clone for PutArtifactResponse
impl Clone for PutArtifactResponse
Source§fn clone(&self) -> PutArtifactResponse
fn clone(&self) -> PutArtifactResponse
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 PutArtifactResponse
impl Debug for PutArtifactResponse
Source§impl<'de> Deserialize<'de> for PutArtifactResponse
impl<'de> Deserialize<'de> for PutArtifactResponse
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 PutArtifactResponse
impl RefUnwindSafe for PutArtifactResponse
impl Send for PutArtifactResponse
impl Sync for PutArtifactResponse
impl Unpin for PutArtifactResponse
impl UnsafeUnpin for PutArtifactResponse
impl UnwindSafe for PutArtifactResponse
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