pub struct ImageSummary {
pub id: i32,
pub name: String,
pub extension: String,
pub in_use: bool,
}Fields§
§id: i32§name: String§extension: StringOne of [ImageFormat.ALLOWED_EXTENSIONS].
in_use: boolWhether an entry or a text in the project uses the image.
Trait Implementations§
Source§impl Clone for ImageSummary
impl Clone for ImageSummary
Source§impl Debug for ImageSummary
impl Debug for ImageSummary
Source§impl Default for ImageSummary
impl Default for ImageSummary
Source§impl<'de> Deserialize<'de> for ImageSummarywhere
ImageSummary: Default,
impl<'de> Deserialize<'de> for ImageSummarywhere
ImageSummary: Default,
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 ImageSummary
impl PartialEq for ImageSummary
Source§impl Serialize for ImageSummary
impl Serialize for ImageSummary
impl StructuralPartialEq for ImageSummary
Auto Trait Implementations§
impl Forget for ImageSummary
impl Freeze for ImageSummary
impl Move for ImageSummary
impl RefUnwindSafe for ImageSummary
impl Send for ImageSummary
impl Sync for ImageSummary
impl Unpin for ImageSummary
impl UnsafeUnpin for ImageSummary
impl UnwindSafe for ImageSummary
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