pub struct StopCasting {
pub method: StopCastingMethod,
pub params: StopCastingParams,
}Expand description
Stops the active Cast session on the sink. stopCasting
Fields§
§method: StopCastingMethod§params: StopCastingParamsImplementations§
Source§impl StopCasting
impl StopCasting
pub fn builder() -> StopCastingBuilder
Source§impl StopCasting
impl StopCasting
pub const IDENTIFIER: &'static str = "Cast.stopCasting"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StopCasting
impl Clone for StopCasting
Source§fn clone(&self) -> StopCasting
fn clone(&self) -> StopCasting
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 CommandResult for StopCasting
impl CommandResult for StopCasting
type Result = StopCastingResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for StopCasting
impl Debug for StopCasting
Source§impl<'de> Deserialize<'de> for StopCasting
impl<'de> Deserialize<'de> for StopCasting
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<StopCasting> for BrowserProtocolCommands
impl From<StopCasting> for BrowserProtocolCommands
Source§fn from(v: StopCasting) -> Self
fn from(v: StopCasting) -> Self
Converts to this type from the input type.
Source§impl From<StopCasting> for CastCommands
impl From<StopCasting> for CastCommands
Source§fn from(v: StopCasting) -> Self
fn from(v: StopCasting) -> Self
Converts to this type from the input type.
Source§impl From<StopCasting> for Command
impl From<StopCasting> for Command
Source§fn from(v: StopCasting) -> Self
fn from(v: StopCasting) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StopCasting
impl PartialEq for StopCasting
Source§impl Serialize for StopCasting
impl Serialize for StopCasting
Source§impl TryFrom<BrowserProtocolCommands> for StopCasting
impl TryFrom<BrowserProtocolCommands> for StopCasting
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <StopCasting as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <StopCasting as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<CastCommands> for StopCasting
impl TryFrom<CastCommands> for StopCasting
Source§type Error = CastCommands
type Error = CastCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CastCommands,
) -> Result<Self, <StopCasting as TryFrom<CastCommands>>::Error>
fn try_from( e: CastCommands, ) -> Result<Self, <StopCasting as TryFrom<CastCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for StopCasting
impl TryFrom<Command> for StopCasting
impl StructuralPartialEq for StopCasting
Auto Trait Implementations§
impl Freeze for StopCasting
impl RefUnwindSafe for StopCasting
impl Send for StopCasting
impl Sync for StopCasting
impl Unpin for StopCasting
impl UnsafeUnpin for StopCasting
impl UnwindSafe for StopCasting
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