Struct stud_ip_scraper::StudIp
source · pub struct StudIp {
pub client: Arc<StudIpClient>,
pub my_courses: MyCourses,
}
Expand description
The entry point into interacting with StudIp
Fields§
§client: Arc<StudIpClient>
§my_courses: MyCourses
Implementations§
source§impl StudIp
impl StudIp
sourcepub fn login<IdP: IdentityProvider>(
creds_path: &str,
host: &'static str
) -> Result<Self>
pub fn login<IdP: IdentityProvider>( creds_path: &str, host: &'static str ) -> Result<Self>
Attempts to log in into a [StudIp]
instance, specified by host
(e.g. studip.example.com)
Uses the provided credentials and an IdentityProvider
, through which the user is authorized.
Auto Trait Implementations§
impl !RefUnwindSafe for StudIp
impl !Send for StudIp
impl !Sync for StudIp
impl Unpin for StudIp
impl !UnwindSafe for StudIp
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