pub enum TopicDirection {
ToServer,
ToClient,
}
Expand description
The direction of topic messages
Variants§
ToServer
Topic messages sent TO the SERVER, FROM the CLIENT
ToClient
Topic messages sent TO the CLIENT, FROM the SERVER
Trait Implementations§
Source§impl Clone for TopicDirection
impl Clone for TopicDirection
Source§fn clone(&self) -> TopicDirection
fn clone(&self) -> TopicDirection
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 TopicDirection
impl Debug for TopicDirection
Source§impl<'de> Deserialize<'de> for TopicDirection
impl<'de> Deserialize<'de> for TopicDirection
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
Source§impl PartialEq for TopicDirection
impl PartialEq for TopicDirection
Source§impl Schema for TopicDirection
impl Schema for TopicDirection
Source§impl Serialize for TopicDirection
impl Serialize for TopicDirection
impl Copy for TopicDirection
impl StructuralPartialEq for TopicDirection
Auto Trait Implementations§
impl Freeze for TopicDirection
impl RefUnwindSafe for TopicDirection
impl Send for TopicDirection
impl Sync for TopicDirection
impl Unpin for TopicDirection
impl UnwindSafe for TopicDirection
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