pub struct Client { /* private fields */ }
Implementations§
Source§impl Client
impl Client
pub fn builder() -> ClientBuilder
pub async fn make_request<T: ToString>(&self, url: T) -> Result<String, Error>
pub fn fetch_student_list(&self) -> StudentListFetchBuilder
pub fn fetch_student_data(&self) -> StudentDataFetchBuilder
pub async fn fetch_student_netsoul<'a>( &self, login: &'a str, ) -> Result<Vec<UserNetsoulEntry>, Error>
pub async fn fetch_own_student_netsoul( &self, ) -> Result<Vec<UserNetsoulEntry>, Error>
pub async fn fetch_student_notes<'a>( &self, login: &'a str, ) -> Result<UserNotes, Error>
pub async fn fetch_own_student_notes(&self) -> Result<UserNotes, Error>
pub async fn fetch_student_binomes<'a>( &self, login: &'a str, ) -> Result<UserBinome, Error>
pub async fn fetch_own_student_binomes(&self) -> Result<UserBinome, Error>
pub async fn search_student( &self, login: &str, ) -> Result<Vec<UserSearchResultEntry>, Error>
pub async fn fetch_available_courses( &self, location: Location, year: u32, active: bool, ) -> Result<Vec<AvailableCourseEntry>, Error>
pub async fn fetch_available_promos( &self, location: Location, year: u32, course: &str, active: bool, ) -> Result<Vec<AvailablePromoEntry>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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