pub enum ViolationSettingName {
LongTask,
LongLayout,
BlockedEvent,
BlockedParser,
DiscouragedApiUse,
Handler,
RecurringHandler,
Unrecognized(String),
}Expand description
The values name accepts on ViolationSetting.
Variants§
LongTask
longTask
LongLayout
longLayout
BlockedEvent
blockedEvent
BlockedParser
blockedParser
DiscouragedApiUse
discouragedAPIUse
Handler
handler
RecurringHandler
recurringHandler
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 ViolationSettingName
impl Clone for ViolationSettingName
Source§impl Debug for ViolationSettingName
impl Debug for ViolationSettingName
Source§impl<'de> Deserialize<'de> for ViolationSettingName
impl<'de> Deserialize<'de> for ViolationSettingName
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 ViolationSettingName
Source§impl Hash for ViolationSettingName
impl Hash for ViolationSettingName
Source§impl PartialEq for ViolationSettingName
impl PartialEq for ViolationSettingName
Source§impl Serialize for ViolationSettingName
impl Serialize for ViolationSettingName
impl StructuralPartialEq for ViolationSettingName
Auto Trait Implementations§
impl Forget for ViolationSettingName
impl Freeze for ViolationSettingName
impl RefUnwindSafe for ViolationSettingName
impl Send for ViolationSettingName
impl Sync for ViolationSettingName
impl Unpin for ViolationSettingName
impl UnsafeUnpin for ViolationSettingName
impl UnwindSafe for ViolationSettingName
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