pub struct ImageStyle {
pub id: ImageStyleId,
pub display_name: String,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
Represents an image style.
Fields§
§id: ImageStyleId
The id of the image style.
display_name: String
The image style’s name.
created_at: DateTime<Utc>
When the image style was created.
updated_at: Option<DateTime<Utc>>
When the image style was last updated.
Trait Implementations§
Source§impl Clone for ImageStyle
impl Clone for ImageStyle
Source§fn clone(&self) -> ImageStyle
fn clone(&self) -> ImageStyle
Returns a copy 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 ImageStyle
impl Debug for ImageStyle
Source§impl<'de> Deserialize<'de> for ImageStyle
impl<'de> Deserialize<'de> for ImageStyle
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 ImageStyle
impl RefUnwindSafe for ImageStyle
impl Send for ImageStyle
impl Sync for ImageStyle
impl Unpin for ImageStyle
impl UnwindSafe for ImageStyle
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