pub struct PutArtifactResponse {
pub uri: 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>,
}Fields§
§uri: String§kind: ArtifactKind§mime_type: String§size_bytes: u64§width: Option<u32>§height: Option<u32>§duration_millis: Option<u64>Implementations§
Source§impl PutArtifactResponse
impl PutArtifactResponse
pub fn validate(&self) -> Result<ArtifactReference, PutArtifactValidationError>
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 (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 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
impl Eq for PutArtifactResponse
Source§impl PartialEq for PutArtifactResponse
impl PartialEq for PutArtifactResponse
Source§impl Serialize for PutArtifactResponse
impl Serialize for PutArtifactResponse
impl StructuralPartialEq for PutArtifactResponse
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