pub struct SinksUpdated {
pub method: SinksUpdatedMethod,
pub params: SinksUpdatedParams,
}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. sinksUpdated
Fields§
§method: SinksUpdatedMethod§params: SinksUpdatedParamsImplementations§
Source§impl SinksUpdated
impl SinksUpdated
pub const IDENTIFIER: &'static str = "Cast.sinksUpdated"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SinksUpdated
impl Clone for SinksUpdated
Source§fn clone(&self) -> SinksUpdated
fn clone(&self) -> SinksUpdated
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 SinksUpdated
impl Debug for SinksUpdated
Source§impl<'de> Deserialize<'de> for SinksUpdated
impl<'de> Deserialize<'de> for SinksUpdated
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 From<SinksUpdated> for BrowserProtocolEvents
impl From<SinksUpdated> for BrowserProtocolEvents
Source§fn from(v: SinksUpdated) -> Self
fn from(v: SinksUpdated) -> Self
Converts to this type from the input type.
Source§impl From<SinksUpdated> for CastEvents
impl From<SinksUpdated> for CastEvents
Source§fn from(v: SinksUpdated) -> Self
fn from(v: SinksUpdated) -> Self
Converts to this type from the input type.
Source§impl From<SinksUpdated> for Event
impl From<SinksUpdated> for Event
Source§fn from(v: SinksUpdated) -> Self
fn from(v: SinksUpdated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SinksUpdated
impl PartialEq for SinksUpdated
Source§impl Serialize for SinksUpdated
impl Serialize for SinksUpdated
Source§impl TryFrom<BrowserProtocolEvents> for SinksUpdated
impl TryFrom<BrowserProtocolEvents> for SinksUpdated
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <SinksUpdated as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <SinksUpdated as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<CastEvents> for SinksUpdated
impl TryFrom<CastEvents> for SinksUpdated
Source§type Error = CastEvents
type Error = CastEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: CastEvents,
) -> Result<Self, <SinksUpdated as TryFrom<CastEvents>>::Error>
fn try_from( e: CastEvents, ) -> Result<Self, <SinksUpdated as TryFrom<CastEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for SinksUpdated
impl TryFrom<Event> for SinksUpdated
impl StructuralPartialEq for SinksUpdated
Auto Trait Implementations§
impl Freeze for SinksUpdated
impl RefUnwindSafe for SinksUpdated
impl Send for SinksUpdated
impl Sync for SinksUpdated
impl Unpin for SinksUpdated
impl UnsafeUnpin for SinksUpdated
impl UnwindSafe for SinksUpdated
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