pub struct Competition {
pub id: String,
pub name: String,
pub country: Country,
}Fields§
§id: String§name: String§country: CountryTrait Implementations§
Source§impl Clone for Competition
impl Clone for Competition
Source§fn clone(&self) -> Competition
fn clone(&self) -> Competition
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 Competition
impl Debug for Competition
Source§impl<'de> Deserialize<'de> for Competition
impl<'de> Deserialize<'de> for Competition
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
Auto Trait Implementations§
impl Freeze for Competition
impl RefUnwindSafe for Competition
impl Send for Competition
impl Sync for Competition
impl Unpin for Competition
impl UnsafeUnpin for Competition
impl UnwindSafe for Competition
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