pub struct Client { /* private fields */ }
Implementations§
Source§impl Client
impl Client
pub fn get_all_folders( &self, courseid: i64, ) -> impl Stream<Item = Result<FolderResp, Error>> + '_
pub fn get_all_files( &self, courseid: i64, ) -> impl Stream<Item = Result<FileResp, Error>> + '_
pub async fn get_course_file( &self, courseid: i64, fileid: i64, ) -> Result<FileResp, Error>
Source§impl Client
impl Client
pub fn list_modules( &self, courseid: i64, ) -> impl Stream<Item = Result<ModuleResp, Error>> + '_
pub fn list_module_items( &self, courseid: i64, moduleid: i64, ) -> impl Stream<Item = Result<ModuleItemResp, Error>> + '_
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