pub struct EphemeralDisk {
pub migrate: Option<bool>,
pub size_mb: Option<i64>,
pub sticky: Option<bool>,
}
Expand description
EphemeralDisk is an ephemeral disk object
This struct was generated based on the Go types of the official Nomad API.
Fields§
§migrate: Option<bool>
§size_mb: Option<i64>
§sticky: Option<bool>
Trait Implementations§
Source§impl Clone for EphemeralDisk
impl Clone for EphemeralDisk
Source§fn clone(&self) -> EphemeralDisk
fn clone(&self) -> EphemeralDisk
Returns a copy of the value. Read more
1.0.0 · 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 EphemeralDisk
impl Debug for EphemeralDisk
Source§impl Default for EphemeralDisk
impl Default for EphemeralDisk
Source§fn default() -> EphemeralDisk
fn default() -> EphemeralDisk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EphemeralDisk
impl<'de> Deserialize<'de> for EphemeralDisk
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 EphemeralDisk
impl PartialEq for EphemeralDisk
Source§impl Serialize for EphemeralDisk
impl Serialize for EphemeralDisk
impl StructuralPartialEq for EphemeralDisk
Auto Trait Implementations§
impl Freeze for EphemeralDisk
impl RefUnwindSafe for EphemeralDisk
impl Send for EphemeralDisk
impl Sync for EphemeralDisk
impl Unpin for EphemeralDisk
impl UnwindSafe for EphemeralDisk
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