[−][src]Struct google_classroom1::StudentSubmission
Student submission for course work.
StudentSubmission items are generated when a CourseWork item is created.
StudentSubmissions that have never been accessed (i.e. with state
= NEW)
may not have a creation time or update time.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- course work student submissions patch courses (request|response)
- course work student submissions get courses (response)
- course work student submissions modify attachments courses (response)
Fields
update_time: Option<String>
Last update time of this submission. This may be unset if the student has not accessed this item.
Read-only.
course_id: Option<String>
Identifier of the course.
Read-only.
user_id: Option<String>
Identifier for the student that owns this submission.
Read-only.
short_answer_submission: Option<ShortAnswerSubmission>
Submission content when course_work_type is SHORT_ANSWER_QUESTION.
course_work_type: Option<String>
Type of course work this submission is for.
Read-only.
assigned_grade: Option<f64>
Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places.
This may be modified only by course teachers.
associated_with_developer: Option<bool>
Whether this student submission is associated with the Developer Console project making the request.
See CreateCourseWork for more details.
Read-only.
id: Option<String>
Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work.
Read-only.
draft_grade: Option<f64>
Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places.
This is only visible to and modifiable by course teachers.
alternate_link: Option<String>
Absolute link to the submission in the Classroom web UI.
Read-only.
multiple_choice_submission: Option<MultipleChoiceSubmission>
Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.
creation_time: Option<String>
Creation time of this submission. This may be unset if the student has not accessed this item.
Read-only.
submission_history: Option<Vec<SubmissionHistory>>
The history of the submission (includes state and grade histories).
Read-only.
late: Option<bool>
Whether this submission is late.
Read-only.
state: Option<String>
State of this submission.
Read-only.
course_work_id: Option<String>
Identifier for the course work this corresponds to.
Read-only.
assignment_submission: Option<AssignmentSubmission>
Submission content when course_work_type is ASSIGNMENT.
Students can modify this content using ModifyAttachments.
Trait Implementations
impl Clone for StudentSubmission
[src]
fn clone(&self) -> StudentSubmission
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StudentSubmission
[src]
impl Default for StudentSubmission
[src]
fn default() -> StudentSubmission
[src]
impl<'de> Deserialize<'de> for StudentSubmission
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for StudentSubmission
[src]
impl ResponseResult for StudentSubmission
[src]
impl Serialize for StudentSubmission
[src]
Auto Trait Implementations
impl RefUnwindSafe for StudentSubmission
impl Send for StudentSubmission
impl Sync for StudentSubmission
impl Unpin for StudentSubmission
impl UnwindSafe for StudentSubmission
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,