pub struct NodesCephCmdSafetyResponseData {
pub safe: PveBoolean,
pub status: Option<String>,
}Fields§
§safe: PveBooleanTrue if Ceph reports the requested action is safe.
status: Option<String>Human-readable status message from Ceph (typically the reason an action is not safe); absent when Ceph returned no message.
Implementations§
Source§impl NodesCephCmdSafetyResponseData
impl NodesCephCmdSafetyResponseData
pub fn new(safe: PveBoolean) -> NodesCephCmdSafetyResponseData
Trait Implementations§
Source§impl Clone for NodesCephCmdSafetyResponseData
impl Clone for NodesCephCmdSafetyResponseData
Source§fn clone(&self) -> NodesCephCmdSafetyResponseData
fn clone(&self) -> NodesCephCmdSafetyResponseData
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 NodesCephCmdSafetyResponseData
impl Default for NodesCephCmdSafetyResponseData
Source§fn default() -> NodesCephCmdSafetyResponseData
fn default() -> NodesCephCmdSafetyResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesCephCmdSafetyResponseData
impl<'de> Deserialize<'de> for NodesCephCmdSafetyResponseData
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 NodesCephCmdSafetyResponseData
impl PartialEq for NodesCephCmdSafetyResponseData
Source§fn eq(&self, other: &NodesCephCmdSafetyResponseData) -> bool
fn eq(&self, other: &NodesCephCmdSafetyResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesCephCmdSafetyResponseData
Auto Trait Implementations§
impl Freeze for NodesCephCmdSafetyResponseData
impl RefUnwindSafe for NodesCephCmdSafetyResponseData
impl Send for NodesCephCmdSafetyResponseData
impl Sync for NodesCephCmdSafetyResponseData
impl Unpin for NodesCephCmdSafetyResponseData
impl UnsafeUnpin for NodesCephCmdSafetyResponseData
impl UnwindSafe for NodesCephCmdSafetyResponseData
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