Enum torn_api::user::Competition
source · pub enum Competition {
Elimination {
score: i32,
attacks: i16,
team: EliminationTeam,
},
DogTags {
score: i32,
position: Option<i32>,
},
Unknown,
}Variants§
Trait Implementations§
source§impl Clone for Competition
impl Clone for Competition
source§fn clone(&self) -> Competition
fn clone(&self) -> Competition
Returns a copy 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 Competition
impl Debug for Competition
source§impl IntoOwned for Competition
impl IntoOwned for Competition
type Owned = Competition
fn into_owned(self) -> Self::Owned
Auto Trait Implementations§
impl RefUnwindSafe for Competition
impl Send for Competition
impl Sync for Competition
impl Unpin 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