pub struct OneMovie {
pub title: String,
pub note: f64,
pub date: u64,
pub comment: String,
pub seen: Option<String>,
pub summary: Option<String>,
}
Expand description
Movie data
Fields§
§title: String
Movie title
note: f64
Movie note
date: u64
Movie publication date
comment: String
Comment about the movie
seen: Option<String>
Seen date
summary: Option<String>
Summary of the movie
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for OneMovie
impl<'de> Deserialize<'de> for OneMovie
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 OneMovie
impl RefUnwindSafe for OneMovie
impl Send for OneMovie
impl Sync for OneMovie
impl Unpin for OneMovie
impl UnwindSafe for OneMovie
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