Struct chromiumoxide_cdp::cdp::browser_protocol::network::WebSocketFrame [−][src]
Expand description
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests. WebSocketFrame
Fields
opcode: f64
WebSocket message opcode.
mask: bool
WebSocket message mask.
payload_data: String
WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn’t 1, then payloadData is a base64 encoded string representing binary data.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WebSocketFrame
impl Send for WebSocketFrame
impl Sync for WebSocketFrame
impl Unpin for WebSocketFrame
impl UnwindSafe for WebSocketFrame
Blanket Implementations
Mutably borrows from an owned value. Read more