[][src]Struct epitech_api::EpitechClient

pub struct EpitechClient { /* fields omitted */ }

Methods

impl EpitechClient[src]

pub fn builder() -> EpitechClientBuilder[src]

pub fn make_request<T: ToString>(
    &self,
    url: T
) -> Result<String, EpitechClientError>
[src]

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]

pub fn fetch_own_student_netsoul(
    &self
) -> Result<Vec<UserNetsoulEntry>, EpitechClientError>
[src]

pub fn fetch_student_notes<'a>(
    &self,
    login: &'a str
) -> Result<UserNotes, EpitechClientError>
[src]

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]

pub fn fetch_own_student_binomes(
    &self
) -> Result<UserBinome, EpitechClientError>
[src]

pub fn search_student(
    &self,
    login: &str
) -> Result<Vec<UserSearchResultEntry>, EpitechClientError>
[src]

pub fn fetch_available_courses(
    &self,
    location: Location,
    year: u32,
    active: bool
) -> Result<Vec<AvailableCourseEntry>, EpitechClientError>
[src]

pub fn fetch_available_promos(
    &self,
    location: Location,
    year: u32,
    course: &str,
    active: bool
) -> Result<Vec<AvailablePromoEntry>, EpitechClientError>
[src]

Trait Implementations

impl Clone for EpitechClient[src]

impl Default for EpitechClient[src]

impl Debug for EpitechClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err