pub struct Reply {
pub user_id: u16,
pub command_id: u32,
pub code: char,
pub keywords: BTreeMap<String, Value>,
}Expand description
Represents a parsed reply from a Tron-style bytes string.
Fields§
§user_id: u16The user ID. This is the internal actor ID for the TCP client that sent the message. 0 for broadcast messages.
command_id: u32The command ID associated with the reply.
code: charThe reply code as a char.
keywords: BTreeMap<String, Value>A map of keyword-value pairs parsed from the reply.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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