pub struct CreateServerStorageDevice {
pub action: String,
pub address: Option<String>,
pub encrypted: Option<bool>,
pub storage: String,
pub title: Option<String>,
pub size: Option<i32>,
pub tier: Option<String>,
pub storage_type: Option<String>,
}Fields§
§action: String§address: Option<String>§encrypted: Option<bool>§storage: String§title: Option<String>§size: Option<i32>§tier: Option<String>§storage_type: Option<String>Implementations§
Source§impl CreateServerStorageDevice
impl CreateServerStorageDevice
pub fn new(action: impl Into<String>, storage: impl Into<String>) -> Self
pub fn from_template(template_uuid: impl Into<String>) -> Self
pub fn with_size(self, size: i32) -> Self
pub fn with_tier(self, tier: impl Into<String>) -> Self
pub fn with_title(self, title: impl Into<String>) -> Self
pub fn with_encrypted(self, encrypted: bool) -> Self
pub fn with_address(self, address: impl Into<String>) -> Self
Trait Implementations§
Source§impl Debug for CreateServerStorageDevice
impl Debug for CreateServerStorageDevice
Source§impl Default for CreateServerStorageDevice
impl Default for CreateServerStorageDevice
Source§fn default() -> CreateServerStorageDevice
fn default() -> CreateServerStorageDevice
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateServerStorageDevice
impl RefUnwindSafe for CreateServerStorageDevice
impl Send for CreateServerStorageDevice
impl Sync for CreateServerStorageDevice
impl Unpin for CreateServerStorageDevice
impl UnwindSafe for CreateServerStorageDevice
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