pub struct PowerDownWithBillStoppedCount(/* private fields */);Expand description
Represents the power down with bill stopped count.
Implementations§
Source§impl PowerDownWithBillStoppedCount
impl PowerDownWithBillStoppedCount
Sourcepub const fn new() -> PowerDownWithBillStoppedCount
pub const fn new() -> PowerDownWithBillStoppedCount
Creates a new PowerDownWithBillStoppedCount.
Sourcepub const fn create(val: u32) -> PowerDownWithBillStoppedCount
pub const fn create(val: u32) -> PowerDownWithBillStoppedCount
Creates a new PowerDownWithBillStoppedCount from the provided parameter.
Sourcepub const fn inner(&self) -> u32
pub const fn inner(&self) -> u32
Gets the inner representation of PowerDownWithBillStoppedCount.
Sourcepub fn set_inner(&mut self, val: u32)
pub fn set_inner(&mut self, val: u32)
Sets the inner representation of PowerDownWithBillStoppedCount.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of PowerDownWithBillStoppedCount.
Trait Implementations§
Source§impl Clone for PowerDownWithBillStoppedCount
impl Clone for PowerDownWithBillStoppedCount
Source§fn clone(&self) -> PowerDownWithBillStoppedCount
fn clone(&self) -> PowerDownWithBillStoppedCount
Returns a duplicate of the value. Read more
1.0.0 · 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 PowerDownWithBillStoppedCount
impl Default for PowerDownWithBillStoppedCount
Source§fn default() -> PowerDownWithBillStoppedCount
fn default() -> PowerDownWithBillStoppedCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PowerDownWithBillStoppedCount
impl<'de> Deserialize<'de> for PowerDownWithBillStoppedCount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PowerDownWithBillStoppedCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PowerDownWithBillStoppedCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PowerDownWithBillStoppedCount> for XfsMember
impl From<&PowerDownWithBillStoppedCount> for XfsMember
Source§fn from(val: &PowerDownWithBillStoppedCount) -> XfsMember
fn from(val: &PowerDownWithBillStoppedCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<&PowerDownWithBillStoppedCount> for XfsValue
impl From<&PowerDownWithBillStoppedCount> for XfsValue
Source§fn from(val: &PowerDownWithBillStoppedCount) -> XfsValue
fn from(val: &PowerDownWithBillStoppedCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for PowerDownWithBillStoppedCount
impl From<&i32> for PowerDownWithBillStoppedCount
Source§fn from(val: &i32) -> PowerDownWithBillStoppedCount
fn from(val: &i32) -> PowerDownWithBillStoppedCount
Converts to this type from the input type.
Source§impl From<&u32> for PowerDownWithBillStoppedCount
impl From<&u32> for PowerDownWithBillStoppedCount
Source§fn from(val: &u32) -> PowerDownWithBillStoppedCount
fn from(val: &u32) -> PowerDownWithBillStoppedCount
Converts to this type from the input type.
Source§impl From<PowerDownWithBillStoppedCount> for XfsMember
impl From<PowerDownWithBillStoppedCount> for XfsMember
Source§fn from(val: PowerDownWithBillStoppedCount) -> XfsMember
fn from(val: PowerDownWithBillStoppedCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<PowerDownWithBillStoppedCount> for XfsValue
impl From<PowerDownWithBillStoppedCount> for XfsValue
Source§fn from(val: PowerDownWithBillStoppedCount) -> XfsValue
fn from(val: PowerDownWithBillStoppedCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for PowerDownWithBillStoppedCount
impl From<i32> for PowerDownWithBillStoppedCount
Source§fn from(val: i32) -> PowerDownWithBillStoppedCount
fn from(val: i32) -> PowerDownWithBillStoppedCount
Converts to this type from the input type.
Source§impl From<u32> for PowerDownWithBillStoppedCount
impl From<u32> for PowerDownWithBillStoppedCount
Source§fn from(val: u32) -> PowerDownWithBillStoppedCount
fn from(val: u32) -> PowerDownWithBillStoppedCount
Converts to this type from the input type.
Source§impl PartialEq for PowerDownWithBillStoppedCount
impl PartialEq for PowerDownWithBillStoppedCount
Source§fn eq(&self, other: &PowerDownWithBillStoppedCount) -> bool
fn eq(&self, other: &PowerDownWithBillStoppedCount) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PowerDownWithBillStoppedCount
impl Serialize for PowerDownWithBillStoppedCount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for PowerDownWithBillStoppedCount
impl TryFrom<&XfsMember> for PowerDownWithBillStoppedCount
Source§impl TryFrom<&XfsValue> for PowerDownWithBillStoppedCount
impl TryFrom<&XfsValue> for PowerDownWithBillStoppedCount
impl Copy for PowerDownWithBillStoppedCount
impl Eq for PowerDownWithBillStoppedCount
impl StructuralPartialEq for PowerDownWithBillStoppedCount
Auto Trait Implementations§
impl Freeze for PowerDownWithBillStoppedCount
impl RefUnwindSafe for PowerDownWithBillStoppedCount
impl Send for PowerDownWithBillStoppedCount
impl Sync for PowerDownWithBillStoppedCount
impl Unpin for PowerDownWithBillStoppedCount
impl UnwindSafe for PowerDownWithBillStoppedCount
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