pub struct Background {
pub id: String,
pub for_date: String,
pub title: String,
pub filename: String,
pub attribution: String,
pub source: String,
pub source_url: String,
pub is_favorite: bool,
pub template_id: Option<u64>,
}
Fields§
§id: String
§for_date: String
§title: String
§filename: String
§attribution: String
§source: String
§source_url: String
§is_favorite: bool
§template_id: Option<u64>
Trait Implementations§
Source§impl Debug for Background
impl Debug for Background
Source§impl<'de> Deserialize<'de> for Background
impl<'de> Deserialize<'de> for Background
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 Background
impl RefUnwindSafe for Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl UnwindSafe for Background
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