pub enum TopicPayload {
DMXConfiguration(DMXConfigForClientState),
}Expand description
Container for the actual data payload dispatched during a topic update.
Variants§
DMXConfiguration(DMXConfigForClientState)
Payload carrying the synchronized DMX configuration state.
Implementations§
Source§impl TopicPayload
impl TopicPayload
Sourcepub fn get_topic(&self) -> SubscribeTopic
pub fn get_topic(&self) -> SubscribeTopic
Retrieves the corresponding SubscribeTopic associated with this data payload.
Trait Implementations§
Source§impl Clone for TopicPayload
impl Clone for TopicPayload
Source§fn clone(&self) -> TopicPayload
fn clone(&self) -> TopicPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TopicPayload
impl Debug for TopicPayload
Source§impl<'de> Deserialize<'de> for TopicPayload
impl<'de> Deserialize<'de> for TopicPayload
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
Auto Trait Implementations§
impl Freeze for TopicPayload
impl RefUnwindSafe for TopicPayload
impl Send for TopicPayload
impl Sync for TopicPayload
impl Unpin for TopicPayload
impl UnsafeUnpin for TopicPayload
impl UnwindSafe for TopicPayload
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