pub struct RawReview {
pub user_id: String,
pub book_id: String,
pub review_id: String,
pub rating: f32,
pub review_text: String,
pub n_votes: i32,
pub date_added: String,
pub date_updated: String,
pub read_at: String,
pub started_at: String,
}
Expand description
Review records we read from JSON.
Fields§
§user_id: String
§book_id: String
§review_id: String
§rating: f32
§review_text: String
§n_votes: i32
§date_added: String
§date_updated: String
§read_at: String
§started_at: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawReview
impl<'de> Deserialize<'de> for RawReview
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
Source§impl ObjectWriter<RawReview> for ReviewWriter
impl ObjectWriter<RawReview> for ReviewWriter
Auto Trait Implementations§
impl Freeze for RawReview
impl RefUnwindSafe for RawReview
impl Send for RawReview
impl Sync for RawReview
impl Unpin for RawReview
impl UnwindSafe for RawReview
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