pub enum DialogType {
Alert,
Confirm,
Prompt,
Beforeunload,
Unrecognized(String),
}Expand description
Javascript dialog type.
Variants§
Alert
alert
Confirm
confirm
Prompt
prompt
Beforeunload
beforeunload
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for DialogType
impl Clone for DialogType
Source§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<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
impl Eq for DialogType
Source§impl Hash for DialogType
impl Hash for DialogType
Source§impl PartialEq for DialogType
impl PartialEq for DialogType
Source§impl Serialize for DialogType
impl Serialize for DialogType
impl StructuralPartialEq for DialogType
Auto Trait Implementations§
impl Forget for DialogType
impl Freeze for DialogType
impl RefUnwindSafe for DialogType
impl Send for DialogType
impl Sync for DialogType
impl Unpin for DialogType
impl UnsafeUnpin 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