pub struct SimpleClassroomAssignment {Show 18 fields
pub id: i32,
pub public_repo: bool,
pub title: String,
pub type: Type,
pub invite_link: String,
pub invitations_enabled: bool,
pub slug: String,
pub students_are_repo_admins: bool,
pub feedback_pull_requests_enabled: bool,
pub max_teams: Option<Option<i32>>,
pub max_members: Option<Option<i32>>,
pub editor: String,
pub accepted: i32,
pub submitted: i32,
pub passing: i32,
pub language: String,
pub deadline: Option<String>,
pub classroom: Box<SimpleClassroom>,
}Expand description
SimpleClassroomAssignment : A GitHub Classroom assignment
Fields§
§id: i32Unique identifier of the repository.
public_repo: boolWhether an accepted assignment creates a public repository.
title: StringAssignment title.
type: TypeWhether it’s a Group Assignment or Individual Assignment.
invite_link: StringThe link that a student can use to accept the assignment.
invitations_enabled: boolWhether the invitation link is enabled. Visiting an enabled invitation link will accept the assignment.
slug: StringSluggified name of the assignment.
students_are_repo_admins: boolWhether students are admins on created repository on accepted assignment.
feedback_pull_requests_enabled: boolWhether feedback pull request will be created on assignment acceptance.
max_teams: Option<Option<i32>>The maximum allowable teams for the assignment.
max_members: Option<Option<i32>>The maximum allowable members per team.
editor: StringThe selected editor for the assignment.
accepted: i32The number of students that have accepted the assignment.
submitted: i32The number of students that have submitted the assignment.
passing: i32The number of students that have passed the assignment.
language: StringThe programming language used in the assignment.
deadline: Option<String>The time at which the assignment is due.
classroom: Box<SimpleClassroom>Implementations§
Source§impl SimpleClassroomAssignment
impl SimpleClassroomAssignment
Sourcepub fn new(
id: i32,
public_repo: bool,
title: String,
type: Type,
invite_link: String,
invitations_enabled: bool,
slug: String,
students_are_repo_admins: bool,
feedback_pull_requests_enabled: bool,
editor: String,
accepted: i32,
submitted: i32,
passing: i32,
language: String,
deadline: Option<String>,
classroom: SimpleClassroom,
) -> SimpleClassroomAssignment
pub fn new( id: i32, public_repo: bool, title: String, type: Type, invite_link: String, invitations_enabled: bool, slug: String, students_are_repo_admins: bool, feedback_pull_requests_enabled: bool, editor: String, accepted: i32, submitted: i32, passing: i32, language: String, deadline: Option<String>, classroom: SimpleClassroom, ) -> SimpleClassroomAssignment
A GitHub Classroom assignment
Trait Implementations§
Source§impl Clone for SimpleClassroomAssignment
impl Clone for SimpleClassroomAssignment
Source§fn clone(&self) -> SimpleClassroomAssignment
fn clone(&self) -> SimpleClassroomAssignment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more