pub struct CorsIssueDetails { /* private fields */ }Available on crate features
experimental and Audits and Network only.Expand description
Details for a CORS related issue, e.g. a warning or error related to CORS RFC1918 enforcement.
Implementations§
Source§impl CorsIssueDetails
impl CorsIssueDetails
pub fn builder() -> CorsIssueDetailsBuilder
pub fn cors_error_status(&self) -> &CorsErrorStatus
pub fn is_warning(&self) -> bool
pub fn request(&self) -> &AffectedRequest
pub fn initiator_origin(&self) -> Option<&String>
pub fn resource_ip_address_space(&self) -> Option<&JsonValue>
pub fn client_security_state(&self) -> Option<&JsonValue>
Trait Implementations§
Source§impl Clone for CorsIssueDetails
impl Clone for CorsIssueDetails
Source§fn clone(&self) -> CorsIssueDetails
fn clone(&self) -> CorsIssueDetails
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 CorsIssueDetails
impl Debug for CorsIssueDetails
Source§impl<'de> Deserialize<'de> for CorsIssueDetails
impl<'de> Deserialize<'de> for CorsIssueDetails
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
Auto Trait Implementations§
impl Freeze for CorsIssueDetails
impl RefUnwindSafe for CorsIssueDetails
impl Send for CorsIssueDetails
impl Sync for CorsIssueDetails
impl Unpin for CorsIssueDetails
impl UnwindSafe for CorsIssueDetails
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