pub struct Request {
pub cqc_hdr: CqcHdr,
pub req_cmd: Option<ReqCmd>,
}Expand description
§Request
A valid CQC request will always begin with the CQC header. A command header must follow for certain message types.
Fields§
§cqc_hdr: CqcHdr§req_cmd: Option<ReqCmd>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
Source§fn deserialize<D>(deserializer: D) -> Result<Request, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Request, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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