pub struct CommandFailure {
pub protocol_version: String,
pub command_id: CommandId,
pub code: ErrorCode,
pub message: String,
}Expand description
A command rejected before it can produce a session-scoped event.
Fields§
§protocol_version: String§command_id: CommandId§code: ErrorCode§message: StringImplementations§
Trait Implementations§
Source§impl Clone for CommandFailure
impl Clone for CommandFailure
Source§impl Debug for CommandFailure
impl Debug for CommandFailure
Source§impl<'de> Deserialize<'de> for CommandFailure
impl<'de> Deserialize<'de> for CommandFailure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommandFailure
Source§impl JsonSchema for CommandFailure
impl JsonSchema for CommandFailure
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommandFailure
impl PartialEq for CommandFailure
Source§impl Serialize for CommandFailure
impl Serialize for CommandFailure
impl StructuralPartialEq for CommandFailure
Auto Trait Implementations§
impl Forget for CommandFailure
impl Freeze for CommandFailure
impl Move for CommandFailure
impl RefUnwindSafe for CommandFailure
impl Send for CommandFailure
impl Sync for CommandFailure
impl Unpin for CommandFailure
impl UnsafeUnpin for CommandFailure
impl UnwindSafe for CommandFailure
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.