pub struct MoodleClient { /* private fields */ }
Expand description
Represents a client for interacting with a Moodle instance.
This client provides methods to make both GET
and POST
requests to Moodle’s REST API.
It requires a base URL and a token to authenticate requests.
Implementations§
Trait Implementations§
Source§impl Clone for MoodleClient
impl Clone for MoodleClient
Source§fn clone(&self) -> MoodleClient
fn clone(&self) -> MoodleClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MoodleClient
impl !RefUnwindSafe for MoodleClient
impl Send for MoodleClient
impl Sync for MoodleClient
impl Unpin for MoodleClient
impl !UnwindSafe for MoodleClient
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