pub struct SetExtraHttpHeaders {
pub method: SetExtraHttpHeadersMethod,
pub params: SetExtraHttpHeadersParams,
}Expand description
Specifies whether to always send extra HTTP headers with the requests from this page. setExtraHTTPHeaders
Fields§
§method: SetExtraHttpHeadersMethod§params: SetExtraHttpHeadersParamsImplementations§
Source§impl SetExtraHttpHeaders
impl SetExtraHttpHeaders
pub fn builder() -> SetExtraHttpHeadersBuilder
Source§impl SetExtraHttpHeaders
impl SetExtraHttpHeaders
pub const IDENTIFIER: &'static str = "Network.setExtraHTTPHeaders"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetExtraHttpHeaders
impl Clone for SetExtraHttpHeaders
Source§fn clone(&self) -> SetExtraHttpHeaders
fn clone(&self) -> SetExtraHttpHeaders
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 CommandResult for SetExtraHttpHeaders
impl CommandResult for SetExtraHttpHeaders
type Result = SetExtraHttpHeadersResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetExtraHttpHeaders
impl Debug for SetExtraHttpHeaders
Source§impl<'de> Deserialize<'de> for SetExtraHttpHeaders
impl<'de> Deserialize<'de> for SetExtraHttpHeaders
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
Source§impl From<SetExtraHttpHeaders> for BrowserProtocolCommands
impl From<SetExtraHttpHeaders> for BrowserProtocolCommands
Source§fn from(v: SetExtraHttpHeaders) -> Self
fn from(v: SetExtraHttpHeaders) -> Self
Converts to this type from the input type.
Source§impl From<SetExtraHttpHeaders> for Command
impl From<SetExtraHttpHeaders> for Command
Source§fn from(v: SetExtraHttpHeaders) -> Self
fn from(v: SetExtraHttpHeaders) -> Self
Converts to this type from the input type.
Source§impl From<SetExtraHttpHeaders> for NetworkCommands
impl From<SetExtraHttpHeaders> for NetworkCommands
Source§fn from(v: SetExtraHttpHeaders) -> Self
fn from(v: SetExtraHttpHeaders) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetExtraHttpHeaders
impl PartialEq for SetExtraHttpHeaders
Source§impl Serialize for SetExtraHttpHeaders
impl Serialize for SetExtraHttpHeaders
Source§impl TryFrom<BrowserProtocolCommands> for SetExtraHttpHeaders
impl TryFrom<BrowserProtocolCommands> for SetExtraHttpHeaders
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetExtraHttpHeaders as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetExtraHttpHeaders as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetExtraHttpHeaders
impl TryFrom<Command> for SetExtraHttpHeaders
Source§impl TryFrom<NetworkCommands> for SetExtraHttpHeaders
impl TryFrom<NetworkCommands> for SetExtraHttpHeaders
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <SetExtraHttpHeaders as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <SetExtraHttpHeaders as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetExtraHttpHeaders
Auto Trait Implementations§
impl Freeze for SetExtraHttpHeaders
impl RefUnwindSafe for SetExtraHttpHeaders
impl Send for SetExtraHttpHeaders
impl Sync for SetExtraHttpHeaders
impl Unpin for SetExtraHttpHeaders
impl UnsafeUnpin for SetExtraHttpHeaders
impl UnwindSafe for SetExtraHttpHeaders
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