pub struct UniverseVotes {
pub id: u64,
pub likes: u32,
pub dislikes: u32,
}Fields§
§id: u64§likes: u32§dislikes: u32Trait Implementations§
Source§impl Clone for UniverseVotes
impl Clone for UniverseVotes
Source§fn clone(&self) -> UniverseVotes
fn clone(&self) -> UniverseVotes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UniverseVotes
impl Debug for UniverseVotes
Source§impl<'de> Deserialize<'de> for UniverseVotes
impl<'de> Deserialize<'de> for UniverseVotes
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
impl Eq for UniverseVotes
Source§impl PartialEq for UniverseVotes
impl PartialEq for UniverseVotes
Source§impl Serialize for UniverseVotes
impl Serialize for UniverseVotes
impl StructuralPartialEq for UniverseVotes
Auto Trait Implementations§
impl Freeze for UniverseVotes
impl RefUnwindSafe for UniverseVotes
impl Send for UniverseVotes
impl Sync for UniverseVotes
impl Unpin for UniverseVotes
impl UnsafeUnpin for UniverseVotes
impl UnwindSafe for UniverseVotes
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