Struct isilon::models::NodeStatusNode
source · pub struct NodeStatusNode { /* private fields */ }Implementations§
source§impl NodeStatusNode
impl NodeStatusNode
pub fn new() -> NodeStatusNode
pub fn set_batterystatus(&mut self, batterystatus: NodeStatusNodeBatterystatus)
pub fn with_batterystatus( self, batterystatus: NodeStatusNodeBatterystatus, ) -> NodeStatusNode
pub fn batterystatus(&self) -> Option<&NodeStatusNodeBatterystatus>
pub fn reset_batterystatus(&mut self)
pub fn set_capacity(&mut self, capacity: Vec<NodeStatusNodeCapacityItem>)
pub fn with_capacity( self, capacity: Vec<NodeStatusNodeCapacityItem>, ) -> NodeStatusNode
pub fn capacity(&self) -> Option<&Vec<NodeStatusNodeCapacityItem>>
pub fn reset_capacity(&mut self)
pub fn set_cpu(&mut self, cpu: NodeStatusNodeCpu)
pub fn with_cpu(self, cpu: NodeStatusNodeCpu) -> NodeStatusNode
pub fn cpu(&self) -> Option<&NodeStatusNodeCpu>
pub fn reset_cpu(&mut self)
pub fn set_error(&mut self, error: String)
pub fn with_error(self, error: String) -> NodeStatusNode
pub fn error(&self) -> Option<&String>
pub fn reset_error(&mut self)
pub fn set_id(&mut self, id: i32)
pub fn with_id(self, id: i32) -> NodeStatusNode
pub fn id(&self) -> Option<&i32>
pub fn reset_id(&mut self)
pub fn set_lnn(&mut self, lnn: i32)
pub fn with_lnn(self, lnn: i32) -> NodeStatusNode
pub fn lnn(&self) -> Option<&i32>
pub fn reset_lnn(&mut self)
pub fn set_nvram(&mut self, nvram: NodeStatusNodeNvram)
pub fn with_nvram(self, nvram: NodeStatusNodeNvram) -> NodeStatusNode
pub fn nvram(&self) -> Option<&NodeStatusNodeNvram>
pub fn reset_nvram(&mut self)
pub fn set_powersupplies(&mut self, powersupplies: NodeStatusNodePowersupplies)
pub fn with_powersupplies( self, powersupplies: NodeStatusNodePowersupplies, ) -> NodeStatusNode
pub fn powersupplies(&self) -> Option<&NodeStatusNodePowersupplies>
pub fn reset_powersupplies(&mut self)
pub fn set_release(&mut self, release: String)
pub fn with_release(self, release: String) -> NodeStatusNode
pub fn release(&self) -> Option<&String>
pub fn reset_release(&mut self)
pub fn set_status(&mut self, status: i32)
pub fn with_status(self, status: i32) -> NodeStatusNode
pub fn status(&self) -> Option<&i32>
pub fn reset_status(&mut self)
pub fn set_uptime(&mut self, uptime: i32)
pub fn with_uptime(self, uptime: i32) -> NodeStatusNode
pub fn uptime(&self) -> Option<&i32>
pub fn reset_uptime(&mut self)
pub fn set_version(&mut self, version: String)
pub fn with_version(self, version: String) -> NodeStatusNode
pub fn version(&self) -> Option<&String>
pub fn reset_version(&mut self)
Trait Implementations§
source§impl Debug for NodeStatusNode
impl Debug for NodeStatusNode
source§impl<'de> Deserialize<'de> for NodeStatusNode
impl<'de> Deserialize<'de> for NodeStatusNode
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 Freeze for NodeStatusNode
impl RefUnwindSafe for NodeStatusNode
impl Send for NodeStatusNode
impl Sync for NodeStatusNode
impl Unpin for NodeStatusNode
impl UnwindSafe for NodeStatusNode
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