pub struct ChromeCustomSchemeResponse {
pub request_id: u64,
pub result: ChromeCustomSchemeResponseResult,
pub body: Vec<u8>,
pub mime_type: String,
pub content_security_policy: Option<String>,
pub access_control_allow_origin: Option<String>,
}Expand description
Response body and headers for a custom scheme request.
Fields§
§request_id: u64§result: ChromeCustomSchemeResponseResult§body: Vec<u8>§mime_type: String§content_security_policy: Option<String>§access_control_allow_origin: Option<String>Trait Implementations§
Source§impl Clone for ChromeCustomSchemeResponse
impl Clone for ChromeCustomSchemeResponse
Source§fn clone(&self) -> ChromeCustomSchemeResponse
fn clone(&self) -> ChromeCustomSchemeResponse
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 ChromeCustomSchemeResponse
impl Debug for ChromeCustomSchemeResponse
impl Eq for ChromeCustomSchemeResponse
impl StructuralPartialEq for ChromeCustomSchemeResponse
Auto Trait Implementations§
impl Freeze for ChromeCustomSchemeResponse
impl RefUnwindSafe for ChromeCustomSchemeResponse
impl Send for ChromeCustomSchemeResponse
impl Sync for ChromeCustomSchemeResponse
impl Unpin for ChromeCustomSchemeResponse
impl UnsafeUnpin for ChromeCustomSchemeResponse
impl UnwindSafe for ChromeCustomSchemeResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.