pub struct ImagePreset {
pub name: String,
pub description: Option<String>,
pub template: ImagePresetTemplate,
pub created: u64,
pub updated: u64,
}Expand description
Persisted named preset.
Fields§
§name: StringStable preset name.
description: Option<String>Optional human explanation.
template: ImagePresetTemplateComplete reusable configuration.
created: u64Unix creation timestamp in seconds.
updated: u64Unix last-update timestamp in seconds.
Trait Implementations§
Source§impl Clone for ImagePreset
impl Clone for ImagePreset
Source§fn clone(&self) -> ImagePreset
fn clone(&self) -> ImagePreset
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 ImagePreset
impl Debug for ImagePreset
Source§impl<'de> Deserialize<'de> for ImagePreset
impl<'de> Deserialize<'de> for ImagePreset
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 ImagePreset
Source§impl JsonSchema for ImagePreset
impl JsonSchema for ImagePreset
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ImagePreset
impl PartialEq for ImagePreset
Source§impl Serialize for ImagePreset
impl Serialize for ImagePreset
impl StructuralPartialEq for ImagePreset
Auto Trait Implementations§
impl Freeze for ImagePreset
impl RefUnwindSafe for ImagePreset
impl Send for ImagePreset
impl Sync for ImagePreset
impl Unpin for ImagePreset
impl UnsafeUnpin for ImagePreset
impl UnwindSafe for ImagePreset
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