pub struct NodesStorageUpdateattributesRequest {
pub notes: Option<String>,
pub protected: Option<PveBoolean>,
}Fields§
§notes: Option<String>The new notes.
protected: Option<PveBoolean>Protection status. Currently only supported for backups.
Implementations§
Trait Implementations§
Source§impl Clone for NodesStorageUpdateattributesRequest
impl Clone for NodesStorageUpdateattributesRequest
Source§fn clone(&self) -> NodesStorageUpdateattributesRequest
fn clone(&self) -> NodesStorageUpdateattributesRequest
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 NodesStorageUpdateattributesRequest
impl Default for NodesStorageUpdateattributesRequest
Source§fn default() -> NodesStorageUpdateattributesRequest
fn default() -> NodesStorageUpdateattributesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesStorageUpdateattributesRequest
impl<'de> Deserialize<'de> for NodesStorageUpdateattributesRequest
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 NodesStorageUpdateattributesRequest
impl PartialEq for NodesStorageUpdateattributesRequest
Source§fn eq(&self, other: &NodesStorageUpdateattributesRequest) -> bool
fn eq(&self, other: &NodesStorageUpdateattributesRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesStorageUpdateattributesRequest
Auto Trait Implementations§
impl Freeze for NodesStorageUpdateattributesRequest
impl RefUnwindSafe for NodesStorageUpdateattributesRequest
impl Send for NodesStorageUpdateattributesRequest
impl Sync for NodesStorageUpdateattributesRequest
impl Unpin for NodesStorageUpdateattributesRequest
impl UnsafeUnpin for NodesStorageUpdateattributesRequest
impl UnwindSafe for NodesStorageUpdateattributesRequest
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