pub struct Movie {
pub _id: String,
pub name: String,
pub runtime_in_minutes: f32,
pub budget_in_millions: f32,
pub box_office_revenue_in_millions: f32,
pub academy_award_nominations: u32,
pub academy_award_wins: u32,
pub rotten_tomates_score: f32,
}
Fields§
§_id: String
§name: String
§runtime_in_minutes: f32
§budget_in_millions: f32
§box_office_revenue_in_millions: f32
§academy_award_nominations: u32
§academy_award_wins: u32
§rotten_tomates_score: f32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Movie
impl<'de> Deserialize<'de> for Movie
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 StructuralPartialEq for Movie
Auto Trait Implementations§
impl Freeze for Movie
impl RefUnwindSafe for Movie
impl Send for Movie
impl Sync for Movie
impl Unpin for Movie
impl UnwindSafe for Movie
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