pub struct DefaultsClient<T> { /* private fields */ }Implementations§
Source§impl<T> DefaultsClient<T>where
T: Client,
impl<T> DefaultsClient<T>where
T: Client,
Source§impl<T> DefaultsClient<T>where
T: Client,
impl<T> DefaultsClient<T>where
T: Client,
Sourcepub async fn get(&self, params: GetParams) -> Result<GetOutput, T::Error>
pub async fn get(&self, params: GetParams) -> Result<GetOutput, T::Error>
Get the currently configured vzdump defaults.
The user needs ‘Datastore.Audit’ or ‘Datastore.AllocateSpace’ permissions for the specified storage (or default storage if none specified). Some properties are only returned when the user has ‘Sys.Audit’ permissions for the node.
Trait Implementations§
Source§impl<T: Clone> Clone for DefaultsClient<T>
impl<T: Clone> Clone for DefaultsClient<T>
Source§fn clone(&self) -> DefaultsClient<T>
fn clone(&self) -> DefaultsClient<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<T> Freeze for DefaultsClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for DefaultsClient<T>where
T: RefUnwindSafe,
impl<T> Send for DefaultsClient<T>where
T: Send,
impl<T> Sync for DefaultsClient<T>where
T: Sync,
impl<T> Unpin for DefaultsClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for DefaultsClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DefaultsClient<T>where
T: UnwindSafe,
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