Struct isilon::models::NodeStatusNode

source ·
pub struct NodeStatusNode { /* private fields */ }

Implementations§

source§

impl NodeStatusNode

source

pub fn new() -> NodeStatusNode

source

pub fn set_batterystatus(&mut self, batterystatus: NodeStatusNodeBatterystatus)

source

pub fn with_batterystatus( self, batterystatus: NodeStatusNodeBatterystatus, ) -> NodeStatusNode

source

pub fn batterystatus(&self) -> Option<&NodeStatusNodeBatterystatus>

source

pub fn reset_batterystatus(&mut self)

source

pub fn set_capacity(&mut self, capacity: Vec<NodeStatusNodeCapacityItem>)

source

pub fn with_capacity( self, capacity: Vec<NodeStatusNodeCapacityItem>, ) -> NodeStatusNode

source

pub fn capacity(&self) -> Option<&Vec<NodeStatusNodeCapacityItem>>

source

pub fn reset_capacity(&mut self)

source

pub fn set_cpu(&mut self, cpu: NodeStatusNodeCpu)

source

pub fn with_cpu(self, cpu: NodeStatusNodeCpu) -> NodeStatusNode

source

pub fn cpu(&self) -> Option<&NodeStatusNodeCpu>

source

pub fn reset_cpu(&mut self)

source

pub fn set_error(&mut self, error: String)

source

pub fn with_error(self, error: String) -> NodeStatusNode

source

pub fn error(&self) -> Option<&String>

source

pub fn reset_error(&mut self)

source

pub fn set_id(&mut self, id: i32)

source

pub fn with_id(self, id: i32) -> NodeStatusNode

source

pub fn id(&self) -> Option<&i32>

source

pub fn reset_id(&mut self)

source

pub fn set_lnn(&mut self, lnn: i32)

source

pub fn with_lnn(self, lnn: i32) -> NodeStatusNode

source

pub fn lnn(&self) -> Option<&i32>

source

pub fn reset_lnn(&mut self)

source

pub fn set_nvram(&mut self, nvram: NodeStatusNodeNvram)

source

pub fn with_nvram(self, nvram: NodeStatusNodeNvram) -> NodeStatusNode

source

pub fn nvram(&self) -> Option<&NodeStatusNodeNvram>

source

pub fn reset_nvram(&mut self)

source

pub fn set_powersupplies(&mut self, powersupplies: NodeStatusNodePowersupplies)

source

pub fn with_powersupplies( self, powersupplies: NodeStatusNodePowersupplies, ) -> NodeStatusNode

source

pub fn powersupplies(&self) -> Option<&NodeStatusNodePowersupplies>

source

pub fn reset_powersupplies(&mut self)

source

pub fn set_release(&mut self, release: String)

source

pub fn with_release(self, release: String) -> NodeStatusNode

source

pub fn release(&self) -> Option<&String>

source

pub fn reset_release(&mut self)

source

pub fn set_status(&mut self, status: i32)

source

pub fn with_status(self, status: i32) -> NodeStatusNode

source

pub fn status(&self) -> Option<&i32>

source

pub fn reset_status(&mut self)

source

pub fn set_uptime(&mut self, uptime: i32)

source

pub fn with_uptime(self, uptime: i32) -> NodeStatusNode

source

pub fn uptime(&self) -> Option<&i32>

source

pub fn reset_uptime(&mut self)

source

pub fn set_version(&mut self, version: String)

source

pub fn with_version(self, version: String) -> NodeStatusNode

source

pub fn version(&self) -> Option<&String>

source

pub fn reset_version(&mut self)

Trait Implementations§

source§

impl Debug for NodeStatusNode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NodeStatusNode

source§

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 Serialize for NodeStatusNode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,