pub struct SketchIndexEntry {
pub number: u64,
pub id: Uuid,
pub title: String,
pub sketch_type: SketchType,
pub status: SketchStatus,
pub domain: Option<String>,
pub file: String,
pub thumbnail_path: Option<String>,
}Expand description
Sketch index entry for the sketches.yaml file
Fields§
§number: u64Sketch number (can be sequential or timestamp-based)
id: UuidSketch UUID
title: StringSketch title
sketch_type: SketchTypeSketch type
status: SketchStatusSketch status
domain: Option<String>Domain (if applicable)
file: StringFilename of the sketch YAML file
thumbnail_path: Option<String>Optional thumbnail path
Trait Implementations§
Source§impl Clone for SketchIndexEntry
impl Clone for SketchIndexEntry
Source§fn clone(&self) -> SketchIndexEntry
fn clone(&self) -> SketchIndexEntry
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 SketchIndexEntry
impl Debug for SketchIndexEntry
Source§impl<'de> Deserialize<'de> for SketchIndexEntry
impl<'de> Deserialize<'de> for SketchIndexEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SketchIndexEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SketchIndexEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Sketch> for SketchIndexEntry
impl From<&Sketch> for SketchIndexEntry
Source§fn from(sketch: &Sketch) -> SketchIndexEntry
fn from(sketch: &Sketch) -> SketchIndexEntry
Converts to this type from the input type.
Source§impl PartialEq for SketchIndexEntry
impl PartialEq for SketchIndexEntry
Source§impl Serialize for SketchIndexEntry
impl Serialize for SketchIndexEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SketchIndexEntry
Auto Trait Implementations§
impl Freeze for SketchIndexEntry
impl RefUnwindSafe for SketchIndexEntry
impl Send for SketchIndexEntry
impl Sync for SketchIndexEntry
impl Unpin for SketchIndexEntry
impl UnwindSafe for SketchIndexEntry
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