pub struct Award {
pub name: String,
pub award_type: i32,
pub event_key: String,
pub recipient_list: Vec<AwardRecipient>,
pub year: i32,
}
Fields§
§name: String
The name of the award as provided by FIRST. May vary for the same award type.
award_type: i32
Type of award given. See https://github.com/the-blue-alliance/the-blue-alliance/blob/master/consts/award_type.py#L6
event_key: String
The event_key of the event the award was won at.
recipient_list: Vec<AwardRecipient>
A list of recipients of the award at the event. May have either a team_key or an awardee, both, or neither (in the case the award wasn’t awarded at the event).
year: i32
The year this award was won.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Award
impl<'de> Deserialize<'de> for Award
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
impl StructuralPartialEq for Award
Auto Trait Implementations§
impl Freeze for Award
impl RefUnwindSafe for Award
impl Send for Award
impl Sync for Award
impl Unpin for Award
impl UnwindSafe for Award
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