pub struct CorsExplanation {
pub allowed: bool,
pub target: String,
pub origin: String,
pub method: String,
pub preflight_status: u16,
pub reasons: Vec<String>,
pub response_headers: BTreeMap<String, String>,
}Fields§
§allowed: bool§target: String§origin: String§method: String§preflight_status: u16§reasons: Vec<String>§response_headers: BTreeMap<String, String>Trait Implementations§
Source§impl Debug for CorsExplanation
impl Debug for CorsExplanation
Auto Trait Implementations§
impl Freeze for CorsExplanation
impl RefUnwindSafe for CorsExplanation
impl Send for CorsExplanation
impl Sync for CorsExplanation
impl Unpin for CorsExplanation
impl UnsafeUnpin for CorsExplanation
impl UnwindSafe for CorsExplanation
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