pub struct OtherError {
pub kind: String,
pub fields: Map<String, Value>,
}Expand description
RemoteError::Other’s content: a kind this build does not know and
its other fields, exactly as they came.
Fields§
§kind: StringThe kind, as the server spelled it ("too_many_writes").
fields: Map<String, Value>Every other field (retry_after_ms, message, …).
Trait Implementations§
Source§impl Clone for OtherError
impl Clone for OtherError
Source§impl Debug for OtherError
impl Debug for OtherError
Source§impl<'de> Deserialize<'de> for OtherError
impl<'de> Deserialize<'de> for OtherError
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OtherError
Source§impl Hash for OtherError
impl Hash for OtherError
Source§impl PartialEq for OtherError
impl PartialEq for OtherError
Source§impl Serialize for OtherError
impl Serialize for OtherError
impl StructuralPartialEq for OtherError
Auto Trait Implementations§
impl Freeze for OtherError
impl RefUnwindSafe for OtherError
impl Send for OtherError
impl Sync for OtherError
impl Unpin for OtherError
impl UnsafeUnpin for OtherError
impl UnwindSafe for OtherError
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