pub struct SinksUpdatedEvent {
pub sinks: Vec<Sink>,
}Expand description
This is fired whenever the list of available sinks changes. A sink is a device or a software surface that you can cast to.
Payload of the Cast.sinksUpdated event.
Fields§
§sinks: Vec<Sink>Trait Implementations§
Source§impl Clone for SinksUpdatedEvent
impl Clone for SinksUpdatedEvent
Source§impl Debug for SinksUpdatedEvent
impl Debug for SinksUpdatedEvent
Source§impl Default for SinksUpdatedEvent
impl Default for SinksUpdatedEvent
Source§impl<'de> Deserialize<'de> for SinksUpdatedEvent
impl<'de> Deserialize<'de> for SinksUpdatedEvent
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 Event for SinksUpdatedEvent
impl Event for SinksUpdatedEvent
Source§impl PartialEq for SinksUpdatedEvent
impl PartialEq for SinksUpdatedEvent
Source§impl Serialize for SinksUpdatedEvent
impl Serialize for SinksUpdatedEvent
impl StructuralPartialEq for SinksUpdatedEvent
Auto Trait Implementations§
impl Forget for SinksUpdatedEvent
impl Freeze for SinksUpdatedEvent
impl RefUnwindSafe for SinksUpdatedEvent
impl Send for SinksUpdatedEvent
impl Sync for SinksUpdatedEvent
impl Unpin for SinksUpdatedEvent
impl UnsafeUnpin for SinksUpdatedEvent
impl UnwindSafe for SinksUpdatedEvent
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