pub struct UserCompetitionEasterEggs {
pub name: Name,
pub score: i32,
pub total: i32,
}
Fields§
§name: Name
§score: i32
§total: i32
Trait Implementations§
Source§impl Clone for UserCompetitionEasterEggs
impl Clone for UserCompetitionEasterEggs
Source§fn clone(&self) -> UserCompetitionEasterEggs
fn clone(&self) -> UserCompetitionEasterEggs
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 UserCompetitionEasterEggs
impl Debug for UserCompetitionEasterEggs
Source§impl<'de> Deserialize<'de> for UserCompetitionEasterEggs
impl<'de> Deserialize<'de> for UserCompetitionEasterEggs
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
Source§impl From<UserCompetitionEasterEggs> for Competition
impl From<UserCompetitionEasterEggs> for Competition
Source§fn from(value: UserCompetitionEasterEggs) -> Self
fn from(value: UserCompetitionEasterEggs) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for UserCompetitionEasterEggs
Auto Trait Implementations§
impl Freeze for UserCompetitionEasterEggs
impl RefUnwindSafe for UserCompetitionEasterEggs
impl Send for UserCompetitionEasterEggs
impl Sync for UserCompetitionEasterEggs
impl Unpin for UserCompetitionEasterEggs
impl UnwindSafe for UserCompetitionEasterEggs
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