pub struct Scorecard { /* private fields */ }Implementations§
Source§impl Scorecard
impl Scorecard
pub fn id(&self) -> &Option<ObjectId>
pub fn event_id(&self) -> &String
pub fn registration_option_id(&self) -> &String
pub fn rider_id(&self) -> &String
pub fn status(&self) -> &RiderStatus
pub fn score(&self) -> &Option<i32>
pub fn completed_controls(&self) -> &Option<i32>
pub fn certified(&self) -> &Option<bool>
Source§impl Scorecard
impl Scorecard
pub fn set_id(&mut self, val: Option<ObjectId>) -> &mut Self
pub fn set_event_id(&mut self, val: String) -> &mut Self
pub fn set_registration_option_id(&mut self, val: String) -> &mut Self
pub fn set_rider_id(&mut self, val: String) -> &mut Self
pub fn set_status(&mut self, val: RiderStatus) -> &mut Self
pub fn set_score(&mut self, val: Option<i32>) -> &mut Self
pub fn set_completed_controls(&mut self, val: Option<i32>) -> &mut Self
pub fn set_certified(&mut self, val: Option<bool>) -> &mut Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scorecard
impl<'de> Deserialize<'de> for Scorecard
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 Scorecard
impl RefUnwindSafe for Scorecard
impl Send for Scorecard
impl Sync for Scorecard
impl Unpin for Scorecard
impl UnsafeUnpin for Scorecard
impl UnwindSafe for Scorecard
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