Struct isilon::models::NodeStatusNodeBatterystatus

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

Implementations§

source§

impl NodeStatusNodeBatterystatus

source

pub fn new() -> NodeStatusNodeBatterystatus

source

pub fn set_last_test_time1(&mut self, last_test_time1: String)

source

pub fn with_last_test_time1( self, last_test_time1: String, ) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_last_test_time1(&mut self)

source

pub fn set_last_test_time2(&mut self, last_test_time2: String)

source

pub fn with_last_test_time2( self, last_test_time2: String, ) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_last_test_time2(&mut self)

source

pub fn set_next_test_time1(&mut self, next_test_time1: String)

source

pub fn with_next_test_time1( self, next_test_time1: String, ) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_next_test_time1(&mut self)

source

pub fn set_next_test_time2(&mut self, next_test_time2: String)

source

pub fn with_next_test_time2( self, next_test_time2: String, ) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_next_test_time2(&mut self)

source

pub fn set_present(&mut self, present: bool)

source

pub fn with_present(self, present: bool) -> NodeStatusNodeBatterystatus

source

pub fn present(&self) -> Option<&bool>

source

pub fn reset_present(&mut self)

source

pub fn set_result1(&mut self, result1: String)

source

pub fn with_result1(self, result1: String) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_result1(&mut self)

source

pub fn set_result2(&mut self, result2: String)

source

pub fn with_result2(self, result2: String) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_result2(&mut self)

source

pub fn set_status1(&mut self, status1: String)

source

pub fn with_status1(self, status1: String) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_status1(&mut self)

source

pub fn set_status2(&mut self, status2: String)

source

pub fn with_status2(self, status2: String) -> NodeStatusNodeBatterystatus

source

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

source

pub fn reset_status2(&mut self)

source

pub fn set_supported(&mut self, supported: bool)

source

pub fn with_supported(self, supported: bool) -> NodeStatusNodeBatterystatus

source

pub fn supported(&self) -> Option<&bool>

source

pub fn reset_supported(&mut self)

Trait Implementations§

source§

impl Debug for NodeStatusNodeBatterystatus

source§

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

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

impl<'de> Deserialize<'de> for NodeStatusNodeBatterystatus

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 NodeStatusNodeBatterystatus

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>,