Struct aldrin_core::message::UnsubscribeEvent
source · pub struct UnsubscribeEvent {
pub service_cookie: ServiceCookie,
pub event: u32,
}Fields§
§event: u32Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for UnsubscribeEvent
impl<'arbitrary> Arbitrary<'arbitrary> for UnsubscribeEvent
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for UnsubscribeEvent
impl Clone for UnsubscribeEvent
source§fn clone(&self) -> UnsubscribeEvent
fn clone(&self) -> UnsubscribeEvent
Returns a copy 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 UnsubscribeEvent
impl Debug for UnsubscribeEvent
source§impl From<UnsubscribeEvent> for Message
impl From<UnsubscribeEvent> for Message
source§fn from(msg: UnsubscribeEvent) -> Self
fn from(msg: UnsubscribeEvent) -> Self
Converts to this type from the input type.
source§impl MessageOps for UnsubscribeEvent
impl MessageOps for UnsubscribeEvent
fn kind(&self) -> MessageKind
fn serialize_message(self) -> Result<BytesMut, MessageSerializeError>
fn deserialize_message(buf: BytesMut) -> Result<Self, MessageDeserializeError>
fn value(&self) -> Option<&SerializedValueSlice>
source§impl PartialEq for UnsubscribeEvent
impl PartialEq for UnsubscribeEvent
source§fn eq(&self, other: &UnsubscribeEvent) -> bool
fn eq(&self, other: &UnsubscribeEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for UnsubscribeEvent
impl Eq for UnsubscribeEvent
impl StructuralEq for UnsubscribeEvent
impl StructuralPartialEq for UnsubscribeEvent
Auto Trait Implementations§
impl RefUnwindSafe for UnsubscribeEvent
impl Send for UnsubscribeEvent
impl Sync for UnsubscribeEvent
impl Unpin for UnsubscribeEvent
impl UnwindSafe for UnsubscribeEvent
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