pub struct SecurityOriginDetails {
pub is_localhost: bool,
}
Expand description
Additional information about the frame document’s security origin. SecurityOriginDetails
Fields§
§is_localhost: bool
Indicates whether the frame document’s security origin is one of the local hostnames (e.g. “localhost”) or IP addresses (IPv4 127.0.0.0/8 or IPv6 ::1).
Implementations§
Source§impl SecurityOriginDetails
impl SecurityOriginDetails
pub fn new(is_localhost: impl Into<bool>) -> SecurityOriginDetails
Source§impl SecurityOriginDetails
impl SecurityOriginDetails
pub fn builder() -> SecurityOriginDetailsBuilder
Source§impl SecurityOriginDetails
impl SecurityOriginDetails
pub const IDENTIFIER: &'static str = "Page.SecurityOriginDetails"
Trait Implementations§
Source§impl Clone for SecurityOriginDetails
impl Clone for SecurityOriginDetails
Source§fn clone(&self) -> SecurityOriginDetails
fn clone(&self) -> SecurityOriginDetails
Returns a duplicate 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 SecurityOriginDetails
impl Debug for SecurityOriginDetails
Source§impl<'de> Deserialize<'de> for SecurityOriginDetails
impl<'de> Deserialize<'de> for SecurityOriginDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityOriginDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityOriginDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SecurityOriginDetails
impl PartialEq for SecurityOriginDetails
Source§impl Serialize for SecurityOriginDetails
impl Serialize for SecurityOriginDetails
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 StructuralPartialEq for SecurityOriginDetails
Auto Trait Implementations§
impl Freeze for SecurityOriginDetails
impl RefUnwindSafe for SecurityOriginDetails
impl Send for SecurityOriginDetails
impl Sync for SecurityOriginDetails
impl Unpin for SecurityOriginDetails
impl UnwindSafe for SecurityOriginDetails
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