pub struct ImageArtifact {
pub height: u32,
pub width: u32,
pub expires_at: Option<u64>,
pub file_identifying_url_path_segment: Option<String>,
}
Fields§
§height: u32
§width: u32
§expires_at: Option<u64>
§file_identifying_url_path_segment: Option<String>
Trait Implementations§
Source§impl Clone for ImageArtifact
impl Clone for ImageArtifact
Source§fn clone(&self) -> ImageArtifact
fn clone(&self) -> ImageArtifact
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 ImageArtifact
impl Debug for ImageArtifact
Source§impl Default for ImageArtifact
impl Default for ImageArtifact
Source§fn default() -> ImageArtifact
fn default() -> ImageArtifact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageArtifact
impl<'de> Deserialize<'de> for ImageArtifact
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
Source§impl PartialEq for ImageArtifact
impl PartialEq for ImageArtifact
Source§impl Serialize for ImageArtifact
impl Serialize for ImageArtifact
impl StructuralPartialEq for ImageArtifact
Auto Trait Implementations§
impl Freeze for ImageArtifact
impl RefUnwindSafe for ImageArtifact
impl Send for ImageArtifact
impl Sync for ImageArtifact
impl Unpin for ImageArtifact
impl UnwindSafe for ImageArtifact
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