pub enum MsgPayload {
Message(String),
Values(Vec<(String, String)>),
}
Expand description
The payload as sent by the remote program - this can either be a string message or a list of expressions and their values
Variants§
Message(String)
A formatted string
Values(Vec<(String, String)>)
A list of name/value pairs from expressions
Trait Implementations§
Source§impl Clone for MsgPayload
impl Clone for MsgPayload
Source§fn clone(&self) -> MsgPayload
fn clone(&self) -> MsgPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MsgPayload
impl Debug for MsgPayload
Source§impl PartialEq for MsgPayload
impl PartialEq for MsgPayload
impl Eq for MsgPayload
impl StructuralPartialEq for MsgPayload
Auto Trait Implementations§
impl Freeze for MsgPayload
impl RefUnwindSafe for MsgPayload
impl Send for MsgPayload
impl Sync for MsgPayload
impl Unpin for MsgPayload
impl UnwindSafe for MsgPayload
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