Struct dittolive_ditto::transport::BluetoothLEConfig
source · pub struct BluetoothLEConfig {
pub enabled: bool,
}
Fields§
§enabled: bool
Implementations§
Trait Implementations§
source§impl Clone for BluetoothLEConfig
impl Clone for BluetoothLEConfig
source§fn clone(&self) -> BluetoothLEConfig
fn clone(&self) -> BluetoothLEConfig
Returns a copy 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 BluetoothLEConfig
impl Debug for BluetoothLEConfig
source§impl Default for BluetoothLEConfig
impl Default for BluetoothLEConfig
source§fn default() -> BluetoothLEConfig
fn default() -> BluetoothLEConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BluetoothLEConfig
impl<'de> Deserialize<'de> for BluetoothLEConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 PartialEq for BluetoothLEConfig
impl PartialEq for BluetoothLEConfig
source§fn eq(&self, other: &BluetoothLEConfig) -> bool
fn eq(&self, other: &BluetoothLEConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BluetoothLEConfig
impl Serialize for BluetoothLEConfig
impl Eq for BluetoothLEConfig
impl StructuralEq for BluetoothLEConfig
impl StructuralPartialEq for BluetoothLEConfig
Auto Trait Implementations§
impl RefUnwindSafe for BluetoothLEConfig
impl Send for BluetoothLEConfig
impl Sync for BluetoothLEConfig
impl Unpin for BluetoothLEConfig
impl UnwindSafe for BluetoothLEConfig
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more