pub struct WindowMessageEnvelope {
pub from: String,
pub to: Option<String>,
pub scope: WindowMessageScope,
pub kind: WindowMessageKind,
pub topic: String,
pub correlation_id: Option<String>,
pub payload: Value,
pub timestamp_ms: u64,
}Fields§
§from: String§to: Option<String>§scope: WindowMessageScope§kind: WindowMessageKind§topic: String§correlation_id: Option<String>§payload: Value§timestamp_ms: u64Trait Implementations§
Source§impl Clone for WindowMessageEnvelope
impl Clone for WindowMessageEnvelope
Source§fn clone(&self) -> WindowMessageEnvelope
fn clone(&self) -> WindowMessageEnvelope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowMessageEnvelope
impl Debug for WindowMessageEnvelope
Source§impl<'de> Deserialize<'de> for WindowMessageEnvelope
impl<'de> Deserialize<'de> for WindowMessageEnvelope
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
Auto Trait Implementations§
impl Freeze for WindowMessageEnvelope
impl RefUnwindSafe for WindowMessageEnvelope
impl Send for WindowMessageEnvelope
impl Sync for WindowMessageEnvelope
impl Unpin for WindowMessageEnvelope
impl UnsafeUnpin for WindowMessageEnvelope
impl UnwindSafe for WindowMessageEnvelope
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