pub struct StudentList {
pub students: Option<Vec<Student>>,
pub next_page: Option<Option<String>>,
}
Fields§
§students: Option<Vec<Student>>
A list of student profiles (if enriched) and their associated profile URL.
next_page: Option<Option<String>>
The API URI that will lead to the next page of results.
Implementations§
Source§impl StudentList
impl StudentList
pub fn new() -> StudentList
Trait Implementations§
Source§impl Clone for StudentList
impl Clone for StudentList
Source§fn clone(&self) -> StudentList
fn clone(&self) -> StudentList
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StudentList
impl Debug for StudentList
Source§impl Default for StudentList
impl Default for StudentList
Source§fn default() -> StudentList
fn default() -> StudentList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StudentList
impl<'de> Deserialize<'de> for StudentList
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 StudentList
impl PartialEq for StudentList
Source§impl Serialize for StudentList
impl Serialize for StudentList
impl StructuralPartialEq for StudentList
Auto Trait Implementations§
impl Freeze for StudentList
impl RefUnwindSafe for StudentList
impl Send for StudentList
impl Sync for StudentList
impl Unpin for StudentList
impl UnwindSafe for StudentList
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