Struct bookdata::amazon::SourceRating
source · pub struct SourceRating {
pub user: String,
pub asin: String,
pub rating: f32,
pub timestamp: i64,
}
Expand description
A rating as described in a source CSV file.
Fields§
§user: String
§asin: String
§rating: f32
§timestamp: i64
Trait Implementations§
source§impl<'de> Deserialize<'de> for SourceRating
impl<'de> Deserialize<'de> for SourceRating
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 SourceRating
impl Send for SourceRating
impl Sync for SourceRating
impl Unpin for SourceRating
impl UnwindSafe for SourceRating
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