pub struct RequestOk {
pub parameters: Vec<KeyValuePair>,
pub track_properties: Vec<KeyValuePair>,
}Expand description
REQUEST_OK (0x07). Used as a generic OK response and as the alias for PUBLISH_OK / REQUEST_UPDATE_OK / TRACK_STATUS_OK / SUBSCRIBE_NAMESPACE_OK / PUBLISH_NAMESPACE_OK.
track_properties is only populated for TRACK_STATUS_OK; for every
other shape it MUST be empty (length implicit from the message length).
Fields§
§parameters: Vec<KeyValuePair>§track_properties: Vec<KeyValuePair>Trait Implementations§
impl Eq for RequestOk
impl StructuralPartialEq for RequestOk
Auto Trait Implementations§
impl Freeze for RequestOk
impl RefUnwindSafe for RequestOk
impl Send for RequestOk
impl Sync for RequestOk
impl Unpin for RequestOk
impl UnsafeUnpin for RequestOk
impl UnwindSafe for RequestOk
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