Struct chrome_remote_interface_model::fetch::FulfillRequestCommand [−][src]
Provides response to the request.
Implementations
impl FulfillRequestCommand
[src]
pub fn builder() -> FulfillRequestCommandBuilder
[src]
pub fn request_id(&self) -> &RequestId
[src]
An id the client received in requestPaused event.
pub fn response_code(&self) -> u32
[src]
An HTTP response code.
pub fn response_headers(&self) -> Option<&Vec<HeaderEntry>>
[src]
Response headers.
pub fn binary_response_headers(&self) -> Option<&String>
[src]
Alternative way of specifying response headers as a \0-separated series of name: value pairs. Prefer the above method unless you need to represent some non-UTF8 values that can't be transmitted over the protocol as text.
pub fn body(&self) -> Option<&String>
[src]
A response body.
pub fn response_phrase(&self) -> Option<&String>
[src]
A textual representation of responseCode. If absent, a standard phrase matching responseCode is used.
Trait Implementations
impl Clone for FulfillRequestCommand
[src]
fn clone(&self) -> FulfillRequestCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Command for FulfillRequestCommand
[src]
type Return = FulfillRequestReturn
Return type.
const METHOD: &'static str
[src]
fn into_request(self, session_id: Option<SessionId>, id: u32) -> Request<Self> where
Self: Sized,
[src]
Self: Sized,
impl Debug for FulfillRequestCommand
[src]
impl<'de> Deserialize<'de> for FulfillRequestCommand
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for FulfillRequestCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for FulfillRequestCommand
[src]
impl Send for FulfillRequestCommand
[src]
impl Sync for FulfillRequestCommand
[src]
impl Unpin for FulfillRequestCommand
[src]
impl UnwindSafe for FulfillRequestCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,