pub struct SimpleClassroom {
pub id: i32,
pub name: String,
pub archived: bool,
pub url: String,
}
Expand description
SimpleClassroom : A GitHub Classroom classroom
Fields§
§id: i32
Unique identifier of the classroom.
name: String
The name of the classroom.
archived: bool
Returns whether classroom is archived or not.
url: String
The url of the classroom on GitHub Classroom.
Implementations§
Trait Implementations§
Source§impl Clone for SimpleClassroom
impl Clone for SimpleClassroom
Source§fn clone(&self) -> SimpleClassroom
fn clone(&self) -> SimpleClassroom
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 SimpleClassroom
impl Debug for SimpleClassroom
Source§impl Default for SimpleClassroom
impl Default for SimpleClassroom
Source§fn default() -> SimpleClassroom
fn default() -> SimpleClassroom
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimpleClassroom
impl<'de> Deserialize<'de> for SimpleClassroom
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 SimpleClassroom
impl PartialEq for SimpleClassroom
Source§impl Serialize for SimpleClassroom
impl Serialize for SimpleClassroom
impl StructuralPartialEq for SimpleClassroom
Auto Trait Implementations§
impl Freeze for SimpleClassroom
impl RefUnwindSafe for SimpleClassroom
impl Send for SimpleClassroom
impl Sync for SimpleClassroom
impl Unpin for SimpleClassroom
impl UnwindSafe for SimpleClassroom
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