pub struct RatingRequest {
pub rating: i8,
}Expand description
Request body for POST /set-rating.
Fields§
§rating: i8-1 = dislike, 0 = unset, 1 = like.
Trait Implementations§
Source§impl Clone for RatingRequest
impl Clone for RatingRequest
Source§fn clone(&self) -> RatingRequest
fn clone(&self) -> RatingRequest
Returns a duplicate 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 RatingRequest
impl Debug for RatingRequest
Auto Trait Implementations§
impl Freeze for RatingRequest
impl RefUnwindSafe for RatingRequest
impl Send for RatingRequest
impl Sync for RatingRequest
impl Unpin for RatingRequest
impl UnsafeUnpin for RatingRequest
impl UnwindSafe for RatingRequest
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