pub struct ExternalArtifactReadDescriptor {
pub path: String,
pub kind: ArtifactKind,
pub mime_type: String,
pub size_bytes: u64,
pub width: Option<u32>,
pub height: Option<u32>,
pub duration_millis: Option<u64>,
pub sha256: String,
}Fields§
§path: String§kind: ArtifactKind§mime_type: String§size_bytes: u64§width: Option<u32>§height: Option<u32>§duration_millis: Option<u64>§sha256: StringTrait Implementations§
Source§impl Clone for ExternalArtifactReadDescriptor
impl Clone for ExternalArtifactReadDescriptor
Source§fn clone(&self) -> ExternalArtifactReadDescriptor
fn clone(&self) -> ExternalArtifactReadDescriptor
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<'de> Deserialize<'de> for ExternalArtifactReadDescriptor
impl<'de> Deserialize<'de> for ExternalArtifactReadDescriptor
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
impl Eq for ExternalArtifactReadDescriptor
impl StructuralPartialEq for ExternalArtifactReadDescriptor
Auto Trait Implementations§
impl Freeze for ExternalArtifactReadDescriptor
impl RefUnwindSafe for ExternalArtifactReadDescriptor
impl Send for ExternalArtifactReadDescriptor
impl Sync for ExternalArtifactReadDescriptor
impl Unpin for ExternalArtifactReadDescriptor
impl UnsafeUnpin for ExternalArtifactReadDescriptor
impl UnwindSafe for ExternalArtifactReadDescriptor
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