Enum chromiumoxide::cdp::browser_protocol::page::DialogType
source · pub enum DialogType {
Alert,
Confirm,
Prompt,
Beforeunload,
}
Expand description
Javascript dialog type.
Variants§
Trait Implementations§
source§impl AsRef<str> for DialogType
impl AsRef<str> for DialogType
source§impl Clone for DialogType
impl Clone for DialogType
source§fn clone(&self) -> DialogType
fn clone(&self) -> DialogType
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 Debug for DialogType
impl Debug for DialogType
source§impl<'de> Deserialize<'de> for DialogType
impl<'de> Deserialize<'de> for DialogType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DialogType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DialogType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for DialogType
impl FromStr for DialogType
source§impl Hash for DialogType
impl Hash for DialogType
source§impl PartialEq for DialogType
impl PartialEq for DialogType
source§fn eq(&self, other: &DialogType) -> bool
fn eq(&self, other: &DialogType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DialogType
impl Serialize for DialogType
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 Eq for DialogType
impl StructuralPartialEq for DialogType
Auto Trait Implementations§
impl Freeze for DialogType
impl RefUnwindSafe for DialogType
impl Send for DialogType
impl Sync for DialogType
impl Unpin for DialogType
impl UnwindSafe for DialogType
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