pub struct MountUnmountRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub mount_point: Option<String>,
}Expand description
MountUnmountRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"mountPoint": {
"description": "Local mount point path to unmount.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
group: Option<String>Assign the request to a custom stats group.
mount_point: Option<String>Local mount point path to unmount.
Trait Implementations§
Source§impl Clone for MountUnmountRequest
impl Clone for MountUnmountRequest
Source§fn clone(&self) -> MountUnmountRequest
fn clone(&self) -> MountUnmountRequest
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 moreSource§impl Debug for MountUnmountRequest
impl Debug for MountUnmountRequest
Source§impl Default for MountUnmountRequest
impl Default for MountUnmountRequest
Source§impl<'de> Deserialize<'de> for MountUnmountRequest
impl<'de> Deserialize<'de> for MountUnmountRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&MountUnmountRequest> for MountUnmountRequest
impl From<&MountUnmountRequest> for MountUnmountRequest
Source§fn from(value: &MountUnmountRequest) -> Self
fn from(value: &MountUnmountRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MountUnmountRequest
impl RefUnwindSafe for MountUnmountRequest
impl Send for MountUnmountRequest
impl Sync for MountUnmountRequest
impl Unpin for MountUnmountRequest
impl UnsafeUnpin for MountUnmountRequest
impl UnwindSafe for MountUnmountRequest
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