Struct chromiumoxide::cdp::browser_protocol::cast::StopCastingParams
source · pub struct StopCastingParams {
pub sink_name: String,
}
Expand description
Stops the active Cast session on the sink. stopCasting
Fields§
§sink_name: String
Implementations§
source§impl StopCastingParams
impl StopCastingParams
pub fn new(sink_name: impl Into<String>) -> StopCastingParams
source§impl StopCastingParams
impl StopCastingParams
pub fn builder() -> StopCastingParamsBuilder
source§impl StopCastingParams
impl StopCastingParams
pub const IDENTIFIER: &'static str = "Cast.stopCasting"
Trait Implementations§
source§impl Clone for StopCastingParams
impl Clone for StopCastingParams
source§fn clone(&self) -> StopCastingParams
fn clone(&self) -> StopCastingParams
Returns a copy 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 Command for StopCastingParams
impl Command for StopCastingParams
§type Response = StopCastingReturns
type Response = StopCastingReturns
The type of the response this request triggers on the chromium server
source§impl Debug for StopCastingParams
impl Debug for StopCastingParams
source§impl<'de> Deserialize<'de> for StopCastingParams
impl<'de> Deserialize<'de> for StopCastingParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<StopCastingParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StopCastingParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<T> for StopCastingParams
impl<T> From<T> for StopCastingParams
source§fn from(url: T) -> StopCastingParams
fn from(url: T) -> StopCastingParams
Converts to this type from the input type.
source§impl Method for StopCastingParams
impl Method for StopCastingParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for StopCastingParams
impl MethodType for StopCastingParams
source§impl PartialEq for StopCastingParams
impl PartialEq for StopCastingParams
source§fn eq(&self, other: &StopCastingParams) -> bool
fn eq(&self, other: &StopCastingParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StopCastingParams
impl Serialize for StopCastingParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StopCastingParams
Auto Trait Implementations§
impl RefUnwindSafe for StopCastingParams
impl Send for StopCastingParams
impl Sync for StopCastingParams
impl Unpin for StopCastingParams
impl UnwindSafe for StopCastingParams
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