pub struct PollSubmission {
pub id: u64,
pub poll_session_id: Option<u64>,
pub poll_choice_id: Option<u64>,
pub user_id: Option<u64>,
pub created_at: Option<DateTime<Utc>>,
}Expand description
A student’s response to a poll session.
Fields§
§id: u64§poll_session_id: Option<u64>§poll_choice_id: Option<u64>§user_id: Option<u64>§created_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for PollSubmission
impl Clone for PollSubmission
Source§fn clone(&self) -> PollSubmission
fn clone(&self) -> PollSubmission
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PollSubmission
impl Debug for PollSubmission
Source§impl<'de> Deserialize<'de> for PollSubmission
impl<'de> Deserialize<'de> for PollSubmission
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 PollSubmission
impl RefUnwindSafe for PollSubmission
impl Send for PollSubmission
impl Sync for PollSubmission
impl Unpin for PollSubmission
impl UnsafeUnpin for PollSubmission
impl UnwindSafe for PollSubmission
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