pub struct NodesDisksCreateLvmthinRequest {
pub add_storage: Option<PveBoolean>,
pub device: String,
pub name: String,
}Fields§
§add_storage: Option<PveBoolean>Configure storage using the thinpool.
device: StringThe block device you want to create the thinpool on.
name: StringThe storage identifier.
Implementations§
Source§impl NodesDisksCreateLvmthinRequest
impl NodesDisksCreateLvmthinRequest
pub fn new(device: String, name: String) -> NodesDisksCreateLvmthinRequest
Trait Implementations§
Source§impl Clone for NodesDisksCreateLvmthinRequest
impl Clone for NodesDisksCreateLvmthinRequest
Source§fn clone(&self) -> NodesDisksCreateLvmthinRequest
fn clone(&self) -> NodesDisksCreateLvmthinRequest
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 Default for NodesDisksCreateLvmthinRequest
impl Default for NodesDisksCreateLvmthinRequest
Source§fn default() -> NodesDisksCreateLvmthinRequest
fn default() -> NodesDisksCreateLvmthinRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesDisksCreateLvmthinRequest
impl<'de> Deserialize<'de> for NodesDisksCreateLvmthinRequest
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 PartialEq for NodesDisksCreateLvmthinRequest
impl PartialEq for NodesDisksCreateLvmthinRequest
Source§fn eq(&self, other: &NodesDisksCreateLvmthinRequest) -> bool
fn eq(&self, other: &NodesDisksCreateLvmthinRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesDisksCreateLvmthinRequest
Auto Trait Implementations§
impl Freeze for NodesDisksCreateLvmthinRequest
impl RefUnwindSafe for NodesDisksCreateLvmthinRequest
impl Send for NodesDisksCreateLvmthinRequest
impl Sync for NodesDisksCreateLvmthinRequest
impl Unpin for NodesDisksCreateLvmthinRequest
impl UnsafeUnpin for NodesDisksCreateLvmthinRequest
impl UnwindSafe for NodesDisksCreateLvmthinRequest
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