Enum chromiumoxide::cdp::browser_protocol::page::SecureContextType
source · pub enum SecureContextType {
Secure,
SecureLocalhost,
InsecureScheme,
InsecureAncestor,
}
Expand description
Indicates whether the frame is a secure context and why it is the case.
Variants§
Secure
The origin is a secure context.
SecureLocalhost
The host is localhost and hence is considered secure.
InsecureScheme
The origin has an insecure scheme and is not localhost.
InsecureAncestor
One of the ancestor frames is not a secure context.
Trait Implementations§
source§impl AsRef<str> for SecureContextType
impl AsRef<str> for SecureContextType
source§impl Clone for SecureContextType
impl Clone for SecureContextType
source§fn clone(&self) -> SecureContextType
fn clone(&self) -> SecureContextType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SecureContextType
impl Debug for SecureContextType
source§impl<'de> Deserialize<'de> for SecureContextType
impl<'de> Deserialize<'de> for SecureContextType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SecureContextType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SecureContextType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for SecureContextType
impl FromStr for SecureContextType
source§impl Hash for SecureContextType
impl Hash for SecureContextType
source§impl PartialEq for SecureContextType
impl PartialEq for SecureContextType
source§fn eq(&self, other: &SecureContextType) -> bool
fn eq(&self, other: &SecureContextType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SecureContextType
impl Serialize for SecureContextType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SecureContextType
impl StructuralPartialEq for SecureContextType
Auto Trait Implementations§
impl Freeze for SecureContextType
impl RefUnwindSafe for SecureContextType
impl Send for SecureContextType
impl Sync for SecureContextType
impl Unpin for SecureContextType
impl UnwindSafe for SecureContextType
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