pub struct MediaButtonsEvent {
pub volume: Option<i8>,
pub mic_mute: Option<bool>,
pub pause: Option<bool>,
pub camera_disable: Option<bool>,
pub power: Option<bool>,
pub function: Option<bool>,
pub device_id: Option<u32>,
pub wake_lease: Option<EventPair>,
pub trace_flow_id: Option<u64>,
}Fields§
§volume: Option<i8>§mic_mute: Option<bool>§pause: Option<bool>§camera_disable: Option<bool>§power: Option<bool>§function: Option<bool>§device_id: Option<u32>§wake_lease: Option<EventPair>§trace_flow_id: Option<u64>Trait Implementations§
Source§impl Debug for MediaButtonsEvent
impl Debug for MediaButtonsEvent
Source§impl Default for MediaButtonsEvent
impl Default for MediaButtonsEvent
Source§fn default() -> MediaButtonsEvent
fn default() -> MediaButtonsEvent
Returns the “default value” for a type. Read more
Source§impl<___E> Encode<MediaButtonsEvent<'static>, ___E> for MediaButtonsEventwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<MediaButtonsEvent<'static>, ___E> for MediaButtonsEventwhere
___E: Encoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<MediaButtonsEvent<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<MediaButtonsEvent<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<MediaButtonsEvent<'de>> for MediaButtonsEvent
impl<'de> FromWire<MediaButtonsEvent<'de>> for MediaButtonsEvent
Source§fn from_wire(wire_: MediaButtonsEvent<'de>) -> Self
fn from_wire(wire_: MediaButtonsEvent<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for MediaButtonsEvent
impl PartialEq for MediaButtonsEvent
impl StructuralPartialEq for MediaButtonsEvent
Auto Trait Implementations§
impl Freeze for MediaButtonsEvent
impl RefUnwindSafe for MediaButtonsEvent
impl Send for MediaButtonsEvent
impl Sync for MediaButtonsEvent
impl Unpin for MediaButtonsEvent
impl UnsafeUnpin for MediaButtonsEvent
impl UnwindSafe for MediaButtonsEvent
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, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]