pub struct SetAcceptedEncodings {
pub method: SetAcceptedEncodingsMethod,
pub params: SetAcceptedEncodingsParams,
}Expand description
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted. setAcceptedEncodings
Fields§
§method: SetAcceptedEncodingsMethod§params: SetAcceptedEncodingsParamsImplementations§
Source§impl SetAcceptedEncodings
impl SetAcceptedEncodings
pub fn builder() -> SetAcceptedEncodingsBuilder
Source§impl SetAcceptedEncodings
impl SetAcceptedEncodings
pub const IDENTIFIER: &'static str = "Network.setAcceptedEncodings"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetAcceptedEncodings
impl Clone for SetAcceptedEncodings
Source§fn clone(&self) -> SetAcceptedEncodings
fn clone(&self) -> SetAcceptedEncodings
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 SetAcceptedEncodings
impl CommandResult for SetAcceptedEncodings
type Result = SetAcceptedEncodingsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetAcceptedEncodings
impl Debug for SetAcceptedEncodings
Source§impl<'de> Deserialize<'de> for SetAcceptedEncodings
impl<'de> Deserialize<'de> for SetAcceptedEncodings
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<SetAcceptedEncodings> for BrowserProtocolCommands
impl From<SetAcceptedEncodings> for BrowserProtocolCommands
Source§fn from(v: SetAcceptedEncodings) -> Self
fn from(v: SetAcceptedEncodings) -> Self
Converts to this type from the input type.
Source§impl From<SetAcceptedEncodings> for Command
impl From<SetAcceptedEncodings> for Command
Source§fn from(v: SetAcceptedEncodings) -> Self
fn from(v: SetAcceptedEncodings) -> Self
Converts to this type from the input type.
Source§impl From<SetAcceptedEncodings> for NetworkCommands
impl From<SetAcceptedEncodings> for NetworkCommands
Source§fn from(v: SetAcceptedEncodings) -> Self
fn from(v: SetAcceptedEncodings) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetAcceptedEncodings
impl PartialEq for SetAcceptedEncodings
Source§impl Serialize for SetAcceptedEncodings
impl Serialize for SetAcceptedEncodings
Source§impl TryFrom<BrowserProtocolCommands> for SetAcceptedEncodings
impl TryFrom<BrowserProtocolCommands> for SetAcceptedEncodings
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, <SetAcceptedEncodings as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetAcceptedEncodings as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetAcceptedEncodings
impl TryFrom<Command> for SetAcceptedEncodings
Source§impl TryFrom<NetworkCommands> for SetAcceptedEncodings
impl TryFrom<NetworkCommands> for SetAcceptedEncodings
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, <SetAcceptedEncodings as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <SetAcceptedEncodings as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetAcceptedEncodings
Auto Trait Implementations§
impl Freeze for SetAcceptedEncodings
impl RefUnwindSafe for SetAcceptedEncodings
impl Send for SetAcceptedEncodings
impl Sync for SetAcceptedEncodings
impl Unpin for SetAcceptedEncodings
impl UnsafeUnpin for SetAcceptedEncodings
impl UnwindSafe for SetAcceptedEncodings
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