pub enum KeyPathType {
Null,
String,
Array,
Unrecognized(String),
}Expand description
The values type accepts on KeyPath.
Variants§
Null
null
String
string
Array
array
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 KeyPathType
impl Clone for KeyPathType
Source§impl Debug for KeyPathType
impl Debug for KeyPathType
Source§impl<'de> Deserialize<'de> for KeyPathType
impl<'de> Deserialize<'de> for KeyPathType
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 KeyPathType
Source§impl Hash for KeyPathType
impl Hash for KeyPathType
Source§impl PartialEq for KeyPathType
impl PartialEq for KeyPathType
Source§impl Serialize for KeyPathType
impl Serialize for KeyPathType
impl StructuralPartialEq for KeyPathType
Auto Trait Implementations§
impl Forget for KeyPathType
impl Freeze for KeyPathType
impl RefUnwindSafe for KeyPathType
impl Send for KeyPathType
impl Sync for KeyPathType
impl Unpin for KeyPathType
impl UnsafeUnpin for KeyPathType
impl UnwindSafe for KeyPathType
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