pub struct SetSimulatedCentralState {
pub state: CentralState,
}Fields§
§state: CentralStateTrait Implementations§
Source§impl Clone for SetSimulatedCentralState
impl Clone for SetSimulatedCentralState
Source§fn clone(&self) -> SetSimulatedCentralState
fn clone(&self) -> SetSimulatedCentralState
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 SetSimulatedCentralState
impl Debug for SetSimulatedCentralState
Source§impl<'de> Deserialize<'de> for SetSimulatedCentralState
impl<'de> Deserialize<'de> for SetSimulatedCentralState
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 Method for SetSimulatedCentralState
impl Method for SetSimulatedCentralState
const NAME: &'static str = "BluetoothEmulation.setSimulatedCentralState"
type ReturnObject = SetSimulatedCentralStateReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for SetSimulatedCentralState
impl PartialEq for SetSimulatedCentralState
Source§impl Serialize for SetSimulatedCentralState
impl Serialize for SetSimulatedCentralState
impl StructuralPartialEq for SetSimulatedCentralState
Auto Trait Implementations§
impl Freeze for SetSimulatedCentralState
impl RefUnwindSafe for SetSimulatedCentralState
impl Send for SetSimulatedCentralState
impl Sync for SetSimulatedCentralState
impl Unpin for SetSimulatedCentralState
impl UnwindSafe for SetSimulatedCentralState
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