pub struct Storage {
pub id: Option<String>,
pub content: Option<String>,
pub enabled: Option<u64>,
pub active: Option<u64>,
}Expand description
A storage of /nodes/<node>/storage.
Fields§
§id: Option<String>Its id (local, local-lvm).
content: Option<String>What it accepts, comma-separated (images,iso,snippets).
enabled: Option<u64>0 when it is disabled.
active: Option<u64>0 when it isn’t active.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Storage
impl<'de> Deserialize<'de> for Storage
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 Forget for Storage
impl Freeze for Storage
impl Move for Storage
impl RefUnwindSafe for Storage
impl Send for Storagewhere
RawVecInner: Send,
impl Sync for Storagewhere
RawVecInner: Sync,
impl Unpin for Storage
impl UnsafeUnpin for Storage
impl UnwindSafe for Storagewhere
RawVecInner: UnwindSafe,
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