pub struct SourceReview {
pub user: String,
pub asin: String,
pub rating: f32,
pub timestamp: i64,
pub summary: Option<String>,
pub text: Option<String>,
pub verified: bool,
}
Expand description
A review as it is described in a source JSON file.
Fields§
§user: String
§asin: String
§rating: f32
§timestamp: i64
§summary: Option<String>
§text: Option<String>
§verified: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SourceReview
impl<'de> Deserialize<'de> for SourceReview
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 SourceReview
impl RefUnwindSafe for SourceReview
impl Send for SourceReview
impl Sync for SourceReview
impl Unpin for SourceReview
impl UnwindSafe for SourceReview
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