Struct lospec_cli::palette::Palette
source · pub struct Palette {
pub id: String,
pub tags: Vec<String>,
pub colors: Vec<Color>,
pub title: String,
pub slug: String,
pub published_at: DateTime<Utc>,
pub user: Option<User>,
pub created_at: DateTime<Utc>,
}Fields§
§id: String§colors: Vec<Color>§title: String§slug: String§published_at: DateTime<Utc>§user: Option<User>§created_at: DateTime<Utc>Trait Implementations§
source§impl<'de> Deserialize<'de> for Palette
impl<'de> Deserialize<'de> for Palette
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 RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnwindSafe for Palette
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