Struct dittolive_ditto::transport::BluetoothLEConfig
source · [−]pub struct BluetoothLEConfig {
pub enabled: bool,
}
Fields
enabled: bool
Implementations
Trait Implementations
sourceimpl Clone for BluetoothLEConfig
impl Clone for BluetoothLEConfig
sourcefn clone(&self) -> BluetoothLEConfig
fn clone(&self) -> BluetoothLEConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BluetoothLEConfig
impl Debug for BluetoothLEConfig
sourceimpl Default for BluetoothLEConfig
impl Default for BluetoothLEConfig
sourcefn default() -> BluetoothLEConfig
fn default() -> BluetoothLEConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BluetoothLEConfig
impl<'de> Deserialize<'de> for BluetoothLEConfig
sourcefn 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
sourceimpl PartialEq<BluetoothLEConfig> for BluetoothLEConfig
impl PartialEq<BluetoothLEConfig> for BluetoothLEConfig
sourcefn eq(&self, other: &BluetoothLEConfig) -> bool
fn eq(&self, other: &BluetoothLEConfig) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read moreimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more