pub struct CreateUpdateMangaRating {
pub manga_id: Uuid,
pub rating: u8,
/* private fields */
}
Fields§
§manga_id: Uuid
§rating: u8
[ 1 .. 10 ]
.
Numbers below 1
will be set at 1
and numbers above 10
will be set at 10
.
Implementations§
Trait Implementations§
Source§impl Clone for CreateUpdateMangaRating
impl Clone for CreateUpdateMangaRating
Source§fn clone(&self) -> CreateUpdateMangaRating
fn clone(&self) -> CreateUpdateMangaRating
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateUpdateMangaRating
impl Debug for CreateUpdateMangaRating
Auto Trait Implementations§
impl Freeze for CreateUpdateMangaRating
impl !RefUnwindSafe for CreateUpdateMangaRating
impl !Send for CreateUpdateMangaRating
impl !Sync for CreateUpdateMangaRating
impl Unpin for CreateUpdateMangaRating
impl !UnwindSafe for CreateUpdateMangaRating
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