pub struct StatusQueryReq {
pub length_form: LengthForm,
pub status_item: StatusItem,
}Expand description
StatusQueryReq() (Table 37): module → host.
Fields§
§length_form: LengthFormHow the length_field was coded on the wire: a non-minimal long form
(e.g. 82 00 09) is preserved so the object re-serializes
byte-for-byte; LengthForm::Minimal for a hand-built value.
status_item: StatusItemStatusItem queried.
Trait Implementations§
Source§impl Clone for StatusQueryReq
impl Clone for StatusQueryReq
impl Copy for StatusQueryReq
Source§impl Debug for StatusQueryReq
impl Debug for StatusQueryReq
impl Eq for StatusQueryReq
Source§impl<'a> Parse<'a> for StatusQueryReq
impl<'a> Parse<'a> for StatusQueryReq
Source§impl PartialEq for StatusQueryReq
impl PartialEq for StatusQueryReq
Source§impl Serialize for StatusQueryReq
Available on crate feature serde only.
impl Serialize for StatusQueryReq
Available on crate feature
serde only.Source§impl Serialize for StatusQueryReq
impl Serialize for StatusQueryReq
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.Source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Write the serialised form into
buf. Returns the number of bytes
written (always equal to serialized_len()).Source§fn try_to_bytes(&self) -> Result<Vec<u8>, Self::Error>
fn try_to_bytes(&self) -> Result<Vec<u8>, Self::Error>
Allocate a
Vec and serialize into it, returning the serializer’s error instead of
panicking. This is the only
allocate-and-serialize entry point: there is deliberately no panicking
to_bytes (hand-built values, or values assembled from damaged wire data,
can violate a wire constraint, so the error must reach the caller).impl StructuralPartialEq for StatusQueryReq
Auto Trait Implementations§
impl Forget for StatusQueryReq
impl Freeze for StatusQueryReq
impl Move for StatusQueryReq
impl RefUnwindSafe for StatusQueryReq
impl Send for StatusQueryReq
impl Sync for StatusQueryReq
impl Unpin for StatusQueryReq
impl UnsafeUnpin for StatusQueryReq
impl UnwindSafe for StatusQueryReq
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