pub struct Rating {
pub rating: u8,
pub created_at: MangaDexDateTime,
}
Fields§
§rating: u8
[ 1 .. 10 ]
.
created_at: MangaDexDateTime
Datetime in YYYY-MM-DDTHH:MM:SS+HH:MM
format.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rating
impl<'de> Deserialize<'de> for Rating
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Rating, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Rating, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Rating
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
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