pub struct ZebraAlliances {
pub red: Option<Vec<ZebraTeam>>,
pub blue: Option<Vec<ZebraTeam>>,
}
Fields§
§red: Option<Vec<ZebraTeam>>
Zebra MotionWorks data for teams on the red alliance
blue: Option<Vec<ZebraTeam>>
Zebra data for teams on the blue alliance
Implementations§
Source§impl ZebraAlliances
impl ZebraAlliances
pub fn new() -> ZebraAlliances
Trait Implementations§
Source§impl Clone for ZebraAlliances
impl Clone for ZebraAlliances
Source§fn clone(&self) -> ZebraAlliances
fn clone(&self) -> ZebraAlliances
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 ZebraAlliances
impl Debug for ZebraAlliances
Source§impl Default for ZebraAlliances
impl Default for ZebraAlliances
Source§fn default() -> ZebraAlliances
fn default() -> ZebraAlliances
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ZebraAlliances
impl<'de> Deserialize<'de> for ZebraAlliances
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 ZebraAlliances
impl PartialEq for ZebraAlliances
Source§impl Serialize for ZebraAlliances
impl Serialize for ZebraAlliances
impl StructuralPartialEq for ZebraAlliances
Auto Trait Implementations§
impl Freeze for ZebraAlliances
impl RefUnwindSafe for ZebraAlliances
impl Send for ZebraAlliances
impl Sync for ZebraAlliances
impl Unpin for ZebraAlliances
impl UnwindSafe for ZebraAlliances
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