Struct google_classroom1::StudentSubmission [] [src]

pub struct StudentSubmission {
    pub update_time: Option<String>,
    pub course_id: Option<String>,
    pub user_id: Option<String>,
    pub associated_with_developer: Option<bool>,
    pub course_work_type: Option<String>,
    pub assigned_grade: Option<f64>,
    pub id: Option<String>,
    pub draft_grade: Option<f64>,
    pub alternate_link: Option<String>,
    pub multiple_choice_submission: Option<MultipleChoiceSubmission>,
    pub creation_time: Option<String>,
    pub short_answer_submission: Option<ShortAnswerSubmission>,
    pub late: Option<bool>,
    pub state: Option<String>,
    pub course_work_id: Option<String>,
    pub assignment_submission: Option<AssignmentSubmission>,
}

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).

Fields

Last update time of this submission. This may be unset if the student has not accessed this item.

Read-only.

Identifier of the course.

Read-only.

Identifier for the student that owns this submission.

Read-only.

Whether this student submission is associated with the Developer Console project making the request.

See google.classroom.Work.CreateCourseWork for more details.

Read-only.

Type of course work this submission is for.

Read-only.

Optional grade. If unset, no grade was set. This must be a non-negative integer value.

This may be modified only by course teachers.

Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work.

Read-only.

Optional pending grade. If unset, no grade was set. This must be a non-negative integer value.

This is only visible to and modifiable by course teachers.

Absolute link to the submission in the Classroom web UI.

Read-only.

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

Creation time of this submission. This may be unset if the student has not accessed this item.

Read-only.

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

Whether this submission is late.

Read-only.

State of this submission.

Read-only.

Identifier for the course work this corresponds to.

Read-only.

Submission content when course_work_type is ASSIGNMENT .

Trait Implementations

impl Default for StudentSubmission
[src]

Returns the "default value" for a type. Read more

impl Clone for StudentSubmission
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StudentSubmission
[src]

Formats the value using the given formatter.

impl RequestValue for StudentSubmission
[src]

impl ResponseResult for StudentSubmission
[src]