Struct aldrin_core::message::SubscribeEventReply
source · pub struct SubscribeEventReply {
pub serial: u32,
pub result: SubscribeEventResult,
}Fields§
§serial: u32§result: SubscribeEventResultTrait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for SubscribeEventReply
impl<'arbitrary> Arbitrary<'arbitrary> for SubscribeEventReply
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 SubscribeEventReply
impl Clone for SubscribeEventReply
source§fn clone(&self) -> SubscribeEventReply
fn clone(&self) -> SubscribeEventReply
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 SubscribeEventReply
impl Debug for SubscribeEventReply
source§impl From<SubscribeEventReply> for Message
impl From<SubscribeEventReply> for Message
source§fn from(msg: SubscribeEventReply) -> Self
fn from(msg: SubscribeEventReply) -> Self
Converts to this type from the input type.
source§impl MessageOps for SubscribeEventReply
impl MessageOps for SubscribeEventReply
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 SubscribeEventReply
impl PartialEq for SubscribeEventReply
source§fn eq(&self, other: &SubscribeEventReply) -> bool
fn eq(&self, other: &SubscribeEventReply) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SubscribeEventReply
impl Eq for SubscribeEventReply
impl StructuralEq for SubscribeEventReply
impl StructuralPartialEq for SubscribeEventReply
Auto Trait Implementations§
impl RefUnwindSafe for SubscribeEventReply
impl Send for SubscribeEventReply
impl Sync for SubscribeEventReply
impl Unpin for SubscribeEventReply
impl UnwindSafe for SubscribeEventReply
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