pub struct BillsTakenSensor(/* private fields */);Expand description
The device has a bills taken sensor. Always TRUE in the BNR.
Implementations§
Source§impl BillsTakenSensor
impl BillsTakenSensor
Sourcepub const fn new() -> BillsTakenSensor
pub const fn new() -> BillsTakenSensor
Creates a new BillsTakenSensor.
Sourcepub const fn create(val: bool) -> BillsTakenSensor
pub const fn create(val: bool) -> BillsTakenSensor
Creates a new BillsTakenSensor from the provided parameter.
Sourcepub fn into_inner(self) -> bool
pub fn into_inner(self) -> bool
Converts into the inner representation of BillsTakenSensor.
Trait Implementations§
Source§impl Clone for BillsTakenSensor
impl Clone for BillsTakenSensor
Source§fn clone(&self) -> BillsTakenSensor
fn clone(&self) -> BillsTakenSensor
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 Debug for BillsTakenSensor
impl Debug for BillsTakenSensor
Source§impl Default for BillsTakenSensor
impl Default for BillsTakenSensor
Source§fn default() -> BillsTakenSensor
fn default() -> BillsTakenSensor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillsTakenSensor
impl<'de> Deserialize<'de> for BillsTakenSensor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BillsTakenSensor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BillsTakenSensor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BillsTakenSensor
impl Display for BillsTakenSensor
Source§impl From<&BillsTakenSensor> for XfsMember
impl From<&BillsTakenSensor> for XfsMember
Source§fn from(val: &BillsTakenSensor) -> XfsMember
fn from(val: &BillsTakenSensor) -> XfsMember
Converts to this type from the input type.
Source§impl From<&BillsTakenSensor> for XfsValue
impl From<&BillsTakenSensor> for XfsValue
Source§fn from(val: &BillsTakenSensor) -> XfsValue
fn from(val: &BillsTakenSensor) -> XfsValue
Converts to this type from the input type.
Source§impl From<&bool> for BillsTakenSensor
impl From<&bool> for BillsTakenSensor
Source§fn from(val: &bool) -> BillsTakenSensor
fn from(val: &bool) -> BillsTakenSensor
Converts to this type from the input type.
Source§impl From<&u8> for BillsTakenSensor
impl From<&u8> for BillsTakenSensor
Source§fn from(val: &u8) -> BillsTakenSensor
fn from(val: &u8) -> BillsTakenSensor
Converts to this type from the input type.
Source§impl From<BillsTakenSensor> for XfsMember
impl From<BillsTakenSensor> for XfsMember
Source§fn from(val: BillsTakenSensor) -> XfsMember
fn from(val: BillsTakenSensor) -> XfsMember
Converts to this type from the input type.
Source§impl From<BillsTakenSensor> for XfsValue
impl From<BillsTakenSensor> for XfsValue
Source§fn from(val: BillsTakenSensor) -> XfsValue
fn from(val: BillsTakenSensor) -> XfsValue
Converts to this type from the input type.
Source§impl From<bool> for BillsTakenSensor
impl From<bool> for BillsTakenSensor
Source§fn from(val: bool) -> BillsTakenSensor
fn from(val: bool) -> BillsTakenSensor
Converts to this type from the input type.
Source§impl From<u8> for BillsTakenSensor
impl From<u8> for BillsTakenSensor
Source§fn from(val: u8) -> BillsTakenSensor
fn from(val: u8) -> BillsTakenSensor
Converts to this type from the input type.
Source§impl PartialEq for BillsTakenSensor
impl PartialEq for BillsTakenSensor
Source§impl Serialize for BillsTakenSensor
impl Serialize for BillsTakenSensor
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 BillsTakenSensor
impl TryFrom<&XfsMember> for BillsTakenSensor
Source§impl TryFrom<&XfsValue> for BillsTakenSensor
impl TryFrom<&XfsValue> for BillsTakenSensor
Source§impl TryFrom<XfsMember> for BillsTakenSensor
impl TryFrom<XfsMember> for BillsTakenSensor
Source§impl TryFrom<XfsValue> for BillsTakenSensor
impl TryFrom<XfsValue> for BillsTakenSensor
impl Copy for BillsTakenSensor
impl StructuralPartialEq for BillsTakenSensor
Auto Trait Implementations§
impl Freeze for BillsTakenSensor
impl RefUnwindSafe for BillsTakenSensor
impl Send for BillsTakenSensor
impl Sync for BillsTakenSensor
impl Unpin for BillsTakenSensor
impl UnwindSafe for BillsTakenSensor
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