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 Freeze for SourceRating
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