pub struct ClassroomAssignmentGrade {
pub assignment_name: String,
pub assignment_url: String,
pub starter_code_url: String,
pub github_username: String,
pub roster_identifier: String,
pub student_repository_name: String,
pub student_repository_url: String,
pub submission_timestamp: String,
pub points_awarded: i32,
pub points_available: i32,
pub group_name: Option<String>,
}
Expand description
ClassroomAssignmentGrade : Grade for a student or groups GitHub Classroom assignment
Fields§
§assignment_name: String
Name of the assignment
assignment_url: String
URL of the assignment
starter_code_url: String
URL of the starter code for the assignment
github_username: String
GitHub username of the student
roster_identifier: String
Roster identifier of the student
student_repository_name: String
Name of the student’s assignment repository
student_repository_url: String
URL of the student’s assignment repository
submission_timestamp: String
Timestamp of the student’s assignment submission
points_awarded: i32
Number of points awarded to the student
points_available: i32
Number of points available for the assignment
group_name: Option<String>
If a group assignment, name of the group the student is in
Implementations§
Source§impl ClassroomAssignmentGrade
impl ClassroomAssignmentGrade
Sourcepub fn new(
assignment_name: String,
assignment_url: String,
starter_code_url: String,
github_username: String,
roster_identifier: String,
student_repository_name: String,
student_repository_url: String,
submission_timestamp: String,
points_awarded: i32,
points_available: i32,
) -> ClassroomAssignmentGrade
pub fn new( assignment_name: String, assignment_url: String, starter_code_url: String, github_username: String, roster_identifier: String, student_repository_name: String, student_repository_url: String, submission_timestamp: String, points_awarded: i32, points_available: i32, ) -> ClassroomAssignmentGrade
Grade for a student or groups GitHub Classroom assignment
Trait Implementations§
Source§impl Clone for ClassroomAssignmentGrade
impl Clone for ClassroomAssignmentGrade
Source§fn clone(&self) -> ClassroomAssignmentGrade
fn clone(&self) -> ClassroomAssignmentGrade
Returns a duplicate of the value. Read more
1.0.0 · 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 ClassroomAssignmentGrade
impl Debug for ClassroomAssignmentGrade
Source§impl Default for ClassroomAssignmentGrade
impl Default for ClassroomAssignmentGrade
Source§fn default() -> ClassroomAssignmentGrade
fn default() -> ClassroomAssignmentGrade
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClassroomAssignmentGrade
impl<'de> Deserialize<'de> for ClassroomAssignmentGrade
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 ClassroomAssignmentGrade
impl PartialEq for ClassroomAssignmentGrade
Source§impl Serialize for ClassroomAssignmentGrade
impl Serialize for ClassroomAssignmentGrade
impl StructuralPartialEq for ClassroomAssignmentGrade
Auto Trait Implementations§
impl Freeze for ClassroomAssignmentGrade
impl RefUnwindSafe for ClassroomAssignmentGrade
impl Send for ClassroomAssignmentGrade
impl Sync for ClassroomAssignmentGrade
impl Unpin for ClassroomAssignmentGrade
impl UnwindSafe for ClassroomAssignmentGrade
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