pub enum ShadowRootType {
UserAgent,
Open,
Closed,
Unrecognized(String),
}Expand description
Shadow root type.
Variants§
UserAgent
user-agent
Open
open
Closed
closed
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 ShadowRootType
impl Clone for ShadowRootType
Source§impl Debug for ShadowRootType
impl Debug for ShadowRootType
Source§impl<'de> Deserialize<'de> for ShadowRootType
impl<'de> Deserialize<'de> for ShadowRootType
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 ShadowRootType
Source§impl Hash for ShadowRootType
impl Hash for ShadowRootType
Source§impl PartialEq for ShadowRootType
impl PartialEq for ShadowRootType
Source§impl Serialize for ShadowRootType
impl Serialize for ShadowRootType
impl StructuralPartialEq for ShadowRootType
Auto Trait Implementations§
impl Forget for ShadowRootType
impl Freeze for ShadowRootType
impl RefUnwindSafe for ShadowRootType
impl Send for ShadowRootType
impl Sync for ShadowRootType
impl Unpin for ShadowRootType
impl UnsafeUnpin for ShadowRootType
impl UnwindSafe for ShadowRootType
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