Struct librus_api::UserAuthenticated
source · pub struct UserAuthenticated {
pub client: Client,
pub status: bool,
}Fields§
§client: Client§status: boolImplementations§
source§impl UserAuthenticated
impl UserAuthenticated
pub fn hello(self)
pub async fn me(&self) -> ResponseMe
pub async fn grades(&self) -> ResponseGrades
pub async fn grade_category(&self, num: i32) -> ResponseGradesCategories
pub async fn grade_comment(&self, num: i32) -> ResponseGradesComments
pub async fn lesson(&self, num: i32) -> ResponseLesson
pub async fn lesson_subject(&self, num: i32) -> ResponseLessonSubject
pub async fn attendances(&self) -> ResponseAttendances
pub async fn attendances_type(&self) -> ResponseAttendancesType
pub async fn homeworks(&self) -> ResponseHomeworks
pub async fn user(&self, num: i32) -> ResponseUser
pub async fn user_me(&self) -> ResponseUser
Auto Trait Implementations§
impl !RefUnwindSafe for UserAuthenticated
impl Send for UserAuthenticated
impl Sync for UserAuthenticated
impl Unpin for UserAuthenticated
impl !UnwindSafe for UserAuthenticated
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