[−][src]Struct epitech_api::EpitechClient
Methods
impl EpitechClient
[src]
pub fn builder() -> EpitechClientBuilder
[src]
pub fn make_request<T: ToString>(
&self,
url: T
) -> Result<String, EpitechClientError>
[src]
&self,
url: T
) -> Result<String, EpitechClientError>
pub fn fetch_student_list(&self) -> StudentListFetchBuilder
[src]
pub fn fetch_student_data(&self) -> StudentDataFetchBuilder
[src]
pub fn fetch_student_netsoul<'a>(
&self,
login: &'a str
) -> Result<Vec<UserNetsoulEntry>, EpitechClientError>
[src]
&self,
login: &'a str
) -> Result<Vec<UserNetsoulEntry>, EpitechClientError>
pub fn fetch_own_student_netsoul(
&self
) -> Result<Vec<UserNetsoulEntry>, EpitechClientError>
[src]
&self
) -> Result<Vec<UserNetsoulEntry>, EpitechClientError>
pub fn fetch_student_notes<'a>(
&self,
login: &'a str
) -> Result<UserNotes, EpitechClientError>
[src]
&self,
login: &'a str
) -> Result<UserNotes, EpitechClientError>
pub fn fetch_own_student_notes(&self) -> Result<UserNotes, EpitechClientError>
[src]
pub fn fetch_student_binomes<'a>(
&self,
login: &'a str
) -> Result<UserBinome, EpitechClientError>
[src]
&self,
login: &'a str
) -> Result<UserBinome, EpitechClientError>
pub fn fetch_own_student_binomes(
&self
) -> Result<UserBinome, EpitechClientError>
[src]
&self
) -> Result<UserBinome, EpitechClientError>
pub fn search_student(
&self,
login: &str
) -> Result<Vec<UserSearchResultEntry>, EpitechClientError>
[src]
&self,
login: &str
) -> Result<Vec<UserSearchResultEntry>, EpitechClientError>
pub fn fetch_available_courses(
&self,
location: Location,
year: u32,
active: bool
) -> Result<Vec<AvailableCourseEntry>, EpitechClientError>
[src]
&self,
location: Location,
year: u32,
active: bool
) -> Result<Vec<AvailableCourseEntry>, EpitechClientError>
pub fn fetch_available_promos(
&self,
location: Location,
year: u32,
course: &str,
active: bool
) -> Result<Vec<AvailablePromoEntry>, EpitechClientError>
[src]
&self,
location: Location,
year: u32,
course: &str,
active: bool
) -> Result<Vec<AvailablePromoEntry>, EpitechClientError>
Trait Implementations
impl Clone for EpitechClient
[src]
fn clone(&self) -> EpitechClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for EpitechClient
[src]
fn default() -> EpitechClient
[src]
impl Debug for EpitechClient
[src]
Auto Trait Implementations
impl Send for EpitechClient
impl Sync for EpitechClient
impl Unpin for EpitechClient
impl !UnwindSafe for EpitechClient
impl !RefUnwindSafe for EpitechClient
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,