pub struct UpvoteRequest {
pub target_type: String,
pub target_id: String,
}Fields§
§target_type: String§target_id: StringTrait Implementations§
Source§impl Clone for UpvoteRequest
impl Clone for UpvoteRequest
Source§fn clone(&self) -> UpvoteRequest
fn clone(&self) -> UpvoteRequest
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 UpvoteRequest
impl Debug for UpvoteRequest
Source§impl<'de> Deserialize<'de> for UpvoteRequest
impl<'de> Deserialize<'de> for UpvoteRequest
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 UpvoteRequest
impl RefUnwindSafe for UpvoteRequest
impl Send for UpvoteRequest
impl Sync for UpvoteRequest
impl Unpin for UpvoteRequest
impl UnsafeUnpin for UpvoteRequest
impl UnwindSafe for UpvoteRequest
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