pub struct Pve { /* private fields */ }Expand description
This is the main struct for this project. It manages all the state
required. Usually built with PveBuilder
Implementations§
Trait Implementations§
Source§impl SimpleApi for Pve
This feels self-explanatory. Call the correct function for whatever
HTTP method you want.
impl SimpleApi for Pve
This feels self-explanatory. Call the correct function for whatever HTTP method you want.
REMEMBER: The path specified must NOT contain a leading slash.
fn simple_get<S: Into<String>>(&self, path: S) -> RequestBuilder
fn simple_post<S: Into<String>>(&self, path: S) -> RequestBuilder
fn simple_put<S: Into<String>>(&self, path: S) -> RequestBuilder
fn simple_delete<S: Into<String>>(&self, path: S) -> RequestBuilder
Auto Trait Implementations§
impl Freeze for Pve
impl !RefUnwindSafe for Pve
impl Send for Pve
impl Sync for Pve
impl Unpin for Pve
impl UnsafeUnpin for Pve
impl !UnwindSafe for Pve
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