pub struct SetSinkToUseParams {
pub sink_name: String,
}Expand description
Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK. setSinkToUse
Fields§
§sink_name: StringImplementations§
Trait Implementations§
Source§impl Clone for SetSinkToUseParams
impl Clone for SetSinkToUseParams
Source§fn clone(&self) -> SetSinkToUseParams
fn clone(&self) -> SetSinkToUseParams
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 SetSinkToUseParams
impl Debug for SetSinkToUseParams
Source§impl<'de> Deserialize<'de> for SetSinkToUseParams
impl<'de> Deserialize<'de> for SetSinkToUseParams
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 PartialEq for SetSinkToUseParams
impl PartialEq for SetSinkToUseParams
Source§impl Serialize for SetSinkToUseParams
impl Serialize for SetSinkToUseParams
impl StructuralPartialEq for SetSinkToUseParams
Auto Trait Implementations§
impl Freeze for SetSinkToUseParams
impl RefUnwindSafe for SetSinkToUseParams
impl Send for SetSinkToUseParams
impl Sync for SetSinkToUseParams
impl Unpin for SetSinkToUseParams
impl UnsafeUnpin for SetSinkToUseParams
impl UnwindSafe for SetSinkToUseParams
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