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