pub struct SimpleAthlete {
pub id: i64,
pub resource_state: u8,
}Fields§
§id: i64§resource_state: u8Trait Implementations§
Source§impl Clone for SimpleAthlete
impl Clone for SimpleAthlete
Source§fn clone(&self) -> SimpleAthlete
fn clone(&self) -> SimpleAthlete
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 SimpleAthlete
impl Debug for SimpleAthlete
Source§impl Default for SimpleAthlete
impl Default for SimpleAthlete
Source§fn default() -> SimpleAthlete
fn default() -> SimpleAthlete
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimpleAthlete
impl<'de> Deserialize<'de> for SimpleAthlete
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 SimpleAthlete
impl PartialEq for SimpleAthlete
Source§impl Serialize for SimpleAthlete
impl Serialize for SimpleAthlete
impl StructuralPartialEq for SimpleAthlete
Auto Trait Implementations§
impl Freeze for SimpleAthlete
impl RefUnwindSafe for SimpleAthlete
impl Send for SimpleAthlete
impl Sync for SimpleAthlete
impl Unpin for SimpleAthlete
impl UnsafeUnpin for SimpleAthlete
impl UnwindSafe for SimpleAthlete
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