pub struct ControlMarking { /* private fields */ }Implementations§
Source§impl ControlMarking
impl ControlMarking
pub fn id(&self) -> &Option<ObjectId>
pub fn event_id(&self) -> &String
pub fn registration_option_id(&self) -> &String
pub fn control_id(&self) -> &String
pub fn control_name(&self) -> &String
pub fn rider_id(&self) -> &String
pub fn status(&self) -> &RiderStatus
pub fn score(&self) -> &Option<i32>
pub fn finish_timestamp(&self) -> &Option<i64>
Source§impl ControlMarking
impl ControlMarking
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_control_id(&mut self, val: String) -> &mut Self
pub fn set_control_name(&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_finish_timestamp(&mut self, val: Option<i64>) -> &mut Self
Source§impl ControlMarking
impl ControlMarking
pub fn new( event_id: String, registration_option_id: String, control_id: String, control_name: String, rider_id: String, status: RiderStatus, ) -> ControlMarking
Trait Implementations§
Source§impl Debug for ControlMarking
impl Debug for ControlMarking
Source§impl<'de> Deserialize<'de> for ControlMarking
impl<'de> Deserialize<'de> for ControlMarking
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 ControlMarking
impl RefUnwindSafe for ControlMarking
impl Send for ControlMarking
impl Sync for ControlMarking
impl Unpin for ControlMarking
impl UnsafeUnpin for ControlMarking
impl UnwindSafe for ControlMarking
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