pub struct EnableParams<'a> { /* private fields */ }Expand description
Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired.
Implementations§
Source§impl<'a> EnableParams<'a>
impl<'a> EnableParams<'a>
Sourcepub fn builder() -> EnableParamsBuilder<'a>
pub fn builder() -> EnableParamsBuilder<'a>
Creates a builder for this type.
pub fn presentation_url(&self) -> Option<&str>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for EnableParams<'a>
impl<'a> CdpCommand<'a> for EnableParams<'a>
Source§impl<'a> Clone for EnableParams<'a>
impl<'a> Clone for EnableParams<'a>
Source§fn clone(&self) -> EnableParams<'a>
fn clone(&self) -> EnableParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for EnableParams<'a>
impl<'a> Debug for EnableParams<'a>
Source§impl<'a> Default for EnableParams<'a>
impl<'a> Default for EnableParams<'a>
Source§fn default() -> EnableParams<'a>
fn default() -> EnableParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for EnableParams<'a>
impl<'de, 'a> Deserialize<'de> for EnableParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for EnableParams<'a>
impl<'a> RefUnwindSafe for EnableParams<'a>
impl<'a> Send for EnableParams<'a>
impl<'a> Sync for EnableParams<'a>
impl<'a> Unpin for EnableParams<'a>
impl<'a> UnsafeUnpin for EnableParams<'a>
impl<'a> UnwindSafe for EnableParams<'a>
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