Struct wamp_core::messages::MessageDirection
source · pub struct MessageDirection {
pub receives: &'static bool,
pub sends: &'static bool,
}
Expand description
Message Direction
Indicates the Message Direction for a specified Role.
Receives means that the specified Role is allowed to receive the message. Sends means that the specified Role allowed to send the message.
Fields§
§receives: &'static bool
§sends: &'static bool
Trait Implementations§
source§impl Debug for MessageDirection
impl Debug for MessageDirection
source§impl PartialEq for MessageDirection
impl PartialEq for MessageDirection
source§fn eq(&self, other: &MessageDirection) -> bool
fn eq(&self, other: &MessageDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MessageDirection
impl PartialOrd for MessageDirection
source§fn partial_cmp(&self, other: &MessageDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for MessageDirection
Auto Trait Implementations§
impl RefUnwindSafe for MessageDirection
impl Send for MessageDirection
impl Sync for MessageDirection
impl Unpin for MessageDirection
impl UnwindSafe for MessageDirection
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