pub struct ServiceDisk {
pub mount_path: Option<String>,
pub name: Option<String>,
pub size_gb: Option<NonZeroU64>,
}Expand description
ServiceDisk
JSON schema
{
"type": "object",
"properties": {
"mountPath": {
"type": "string"
},
"name": {
"type": "string"
},
"sizeGB": {
"description": "Defaults to 1",
"type": "integer",
"minimum": 1.0
}
}
}Fields§
§mount_path: Option<String>§name: Option<String>§size_gb: Option<NonZeroU64>Defaults to 1
Trait Implementations§
Source§impl Clone for ServiceDisk
impl Clone for ServiceDisk
Source§fn clone(&self) -> ServiceDisk
fn clone(&self) -> ServiceDisk
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 ServiceDisk
impl Debug for ServiceDisk
Source§impl Default for ServiceDisk
impl Default for ServiceDisk
Source§impl<'de> Deserialize<'de> for ServiceDisk
impl<'de> Deserialize<'de> for ServiceDisk
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
Auto Trait Implementations§
impl Freeze for ServiceDisk
impl RefUnwindSafe for ServiceDisk
impl Send for ServiceDisk
impl Sync for ServiceDisk
impl Unpin for ServiceDisk
impl UnsafeUnpin for ServiceDisk
impl UnwindSafe for ServiceDisk
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