pub struct RejectedCommand {
pub id: Option<JsonValue>,
pub command: Option<String>,
pub error: String,
}Expand description
A command that could not be decoded; answered with an error response.
Fields§
§id: Option<JsonValue>Correlation id.
command: Option<String>Command type as sent (None when missing).
error: StringError text.
Trait Implementations§
Source§impl Clone for RejectedCommand
impl Clone for RejectedCommand
Source§impl Debug for RejectedCommand
impl Debug for RejectedCommand
impl Eq for RejectedCommand
Source§impl PartialEq for RejectedCommand
impl PartialEq for RejectedCommand
impl StructuralPartialEq for RejectedCommand
Auto Trait Implementations§
impl Freeze for RejectedCommand
impl RefUnwindSafe for RejectedCommand
impl Send for RejectedCommand
impl Sync for RejectedCommand
impl Unpin for RejectedCommand
impl UnsafeUnpin for RejectedCommand
impl UnwindSafe for RejectedCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.