pub struct DataReceivedEventParams {
pub request_id: RequestId,
pub timestamp: MonotonicTime,
pub data_length: JsUInt,
pub encoded_data_length: JsUInt,
pub data: Option<u8>,
}Fields§
§request_id: RequestId§timestamp: MonotonicTime§data_length: JsUInt§encoded_data_length: JsUInt§data: Option<u8>Trait Implementations§
Source§impl Clone for DataReceivedEventParams
impl Clone for DataReceivedEventParams
Source§fn clone(&self) -> DataReceivedEventParams
fn clone(&self) -> DataReceivedEventParams
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 DataReceivedEventParams
impl Debug for DataReceivedEventParams
Source§impl<'de> Deserialize<'de> for DataReceivedEventParams
impl<'de> Deserialize<'de> for DataReceivedEventParams
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 PartialEq for DataReceivedEventParams
impl PartialEq for DataReceivedEventParams
Source§impl Serialize for DataReceivedEventParams
impl Serialize for DataReceivedEventParams
impl StructuralPartialEq for DataReceivedEventParams
Auto Trait Implementations§
impl Freeze for DataReceivedEventParams
impl RefUnwindSafe for DataReceivedEventParams
impl Send for DataReceivedEventParams
impl Sync for DataReceivedEventParams
impl Unpin for DataReceivedEventParams
impl UnwindSafe for DataReceivedEventParams
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