pub struct CommandQueryResponse {
pub msg: ReplyMsgData,
pub peer: Peer,
pub target: IdBytes,
}Expand description
Outgoing response to a CommandQuery
Fields§
§msg: ReplyMsgData§peer: Peer§target: IdBytesTrait Implementations§
Source§impl Clone for CommandQueryResponse
impl Clone for CommandQueryResponse
Source§fn clone(&self) -> CommandQueryResponse
fn clone(&self) -> CommandQueryResponse
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 CommandQueryResponse
impl Debug for CommandQueryResponse
Source§impl From<CommandQuery> for CommandQueryResponse
impl From<CommandQuery> for CommandQueryResponse
Source§fn from(q: CommandQuery) -> Self
fn from(q: CommandQuery) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandQueryResponse
impl RefUnwindSafe for CommandQueryResponse
impl Send for CommandQueryResponse
impl Sync for CommandQueryResponse
impl Unpin for CommandQueryResponse
impl UnsafeUnpin for CommandQueryResponse
impl UnwindSafe for CommandQueryResponse
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