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