pub struct MatchAlliance {
pub score: i32,
pub team_keys: Vec<String>,
pub surrogate_team_keys: Option<Vec<String>>,
pub dq_team_keys: Option<Vec<String>>,
}
Fields§
§score: i32
Score for this alliance. Will be null or -1 for an unplayed match.
team_keys: Vec<String>
§surrogate_team_keys: Option<Vec<String>>
TBA team keys (eg frc254
) of any teams playing as a surrogate.
dq_team_keys: Option<Vec<String>>
TBA team keys (eg frc254
) of any disqualified teams.
Implementations§
Source§impl MatchAlliance
impl MatchAlliance
Trait Implementations§
Source§impl Clone for MatchAlliance
impl Clone for MatchAlliance
Source§fn clone(&self) -> MatchAlliance
fn clone(&self) -> MatchAlliance
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MatchAlliance
impl Debug for MatchAlliance
Source§impl Default for MatchAlliance
impl Default for MatchAlliance
Source§fn default() -> MatchAlliance
fn default() -> MatchAlliance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatchAlliance
impl<'de> Deserialize<'de> for MatchAlliance
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 MatchAlliance
impl PartialEq for MatchAlliance
Source§impl Serialize for MatchAlliance
impl Serialize for MatchAlliance
impl StructuralPartialEq for MatchAlliance
Auto Trait Implementations§
impl Freeze for MatchAlliance
impl RefUnwindSafe for MatchAlliance
impl Send for MatchAlliance
impl Sync for MatchAlliance
impl Unpin for MatchAlliance
impl UnwindSafe for MatchAlliance
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