pub enum ScopeEmptyReason {
NoVariables,
AllUnavailable,
Unrecognized(String),
}Expand description
The values emptyReason accepts on Scope.
Variants§
NoVariables
no-variables
all-unavailable
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 ScopeEmptyReason
impl Clone for ScopeEmptyReason
Source§impl Debug for ScopeEmptyReason
impl Debug for ScopeEmptyReason
Source§impl<'de> Deserialize<'de> for ScopeEmptyReason
impl<'de> Deserialize<'de> for ScopeEmptyReason
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 ScopeEmptyReason
Source§impl Hash for ScopeEmptyReason
impl Hash for ScopeEmptyReason
Source§impl PartialEq for ScopeEmptyReason
impl PartialEq for ScopeEmptyReason
Source§impl Serialize for ScopeEmptyReason
impl Serialize for ScopeEmptyReason
impl StructuralPartialEq for ScopeEmptyReason
Auto Trait Implementations§
impl Forget for ScopeEmptyReason
impl Freeze for ScopeEmptyReason
impl RefUnwindSafe for ScopeEmptyReason
impl Send for ScopeEmptyReason
impl Sync for ScopeEmptyReason
impl Unpin for ScopeEmptyReason
impl UnsafeUnpin for ScopeEmptyReason
impl UnwindSafe for ScopeEmptyReason
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