pub struct Assignment {
pub available_at: Option<DateTime<Utc>>,
pub burned_at: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
pub hidden: bool,
pub passed_at: Option<DateTime<Utc>>,
pub resurrected_at: Option<DateTime<Utc>>,
pub srs_stage: i64,
pub started_at: Option<DateTime<Utc>>,
pub subject_id: i64,
pub subject_type: SubjectType,
pub unlocked_at: Option<DateTime<Utc>>,
}Fields§
§available_at: Option<DateTime<Utc>>§burned_at: Option<DateTime<Utc>>§created_at: DateTime<Utc>§passed_at: Option<DateTime<Utc>>§resurrected_at: Option<DateTime<Utc>>§srs_stage: i64§started_at: Option<DateTime<Utc>>§subject_id: i64§subject_type: SubjectType§unlocked_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for Assignment
impl Clone for Assignment
Source§impl Debug for Assignment
impl Debug for Assignment
Source§impl<'de> Deserialize<'de> for Assignment
impl<'de> Deserialize<'de> for Assignment
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 Assignment
impl PartialEq for Assignment
Source§impl Serialize for Assignment
impl Serialize for Assignment
impl StructuralPartialEq for Assignment
Auto Trait Implementations§
impl Freeze for Assignment
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnsafeUnpin for Assignment
impl UnwindSafe for Assignment
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