pub struct Envelope<P = Value> {
pub hash: String,
pub event: Event<P>,
pub signature: String,
}Fields§
§hash: String§event: Event<P>§signature: StringTrait Implementations§
Source§impl<'de, P> Deserialize<'de> for Envelope<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for Envelope<P>where
P: Deserialize<'de>,
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
impl<P: PartialEq> StructuralPartialEq for Envelope<P>
Auto Trait Implementations§
impl<P> Freeze for Envelope<P>
impl<P> RefUnwindSafe for Envelope<P>where
Event<P>: RefUnwindSafe,
impl<P> Send for Envelope<P>
impl<P> Sync for Envelope<P>
impl<P> Unpin for Envelope<P>
impl<P> UnsafeUnpin for Envelope<P>where
Event<P>: UnsafeUnpin,
impl<P> UnwindSafe for Envelope<P>where
Event<P>: UnwindSafe,
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