pub struct CorrectChoice(pub u32);Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for CorrectChoice
impl Clone for CorrectChoice
Source§fn clone(&self) -> CorrectChoice
fn clone(&self) -> CorrectChoice
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 CorrectChoice
impl Debug for CorrectChoice
Source§impl<'de> Deserialize<'de> for CorrectChoice
impl<'de> Deserialize<'de> for CorrectChoice
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 PartialEq for CorrectChoice
impl PartialEq for CorrectChoice
Source§impl Serialize for CorrectChoice
impl Serialize for CorrectChoice
impl StructuralPartialEq for CorrectChoice
Auto Trait Implementations§
impl Freeze for CorrectChoice
impl RefUnwindSafe for CorrectChoice
impl Send for CorrectChoice
impl Sync for CorrectChoice
impl Unpin for CorrectChoice
impl UnwindSafe for CorrectChoice
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