pub struct CauseRpcErrorKind {
pub subtype_0: Option<RpcRequestValidationErrorKind>,
pub subtype_1: Option<Value>,
pub subtype_2: Option<Value>,
}Expand description
CauseRpcErrorKind
JSON schema
{
"anyOf": [
{
"$ref": "#/components/schemas/RpcRequestValidationErrorKind"
},
{},
{}
]
}Fields§
§subtype_0: Option<RpcRequestValidationErrorKind>§subtype_1: Option<Value>§subtype_2: Option<Value>Trait Implementations§
Source§impl Clone for CauseRpcErrorKind
impl Clone for CauseRpcErrorKind
Source§fn clone(&self) -> CauseRpcErrorKind
fn clone(&self) -> CauseRpcErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CauseRpcErrorKind
impl Debug for CauseRpcErrorKind
Source§impl Default for CauseRpcErrorKind
impl Default for CauseRpcErrorKind
Source§fn default() -> CauseRpcErrorKind
fn default() -> CauseRpcErrorKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CauseRpcErrorKind
impl<'de> Deserialize<'de> for CauseRpcErrorKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CauseRpcErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CauseRpcErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CauseRpcErrorKind> for CauseRpcErrorKind
impl From<&CauseRpcErrorKind> for CauseRpcErrorKind
Source§fn from(value: &CauseRpcErrorKind) -> CauseRpcErrorKind
fn from(value: &CauseRpcErrorKind) -> CauseRpcErrorKind
Converts to this type from the input type.
Source§impl Serialize for CauseRpcErrorKind
impl Serialize for CauseRpcErrorKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CauseRpcErrorKind
impl RefUnwindSafe for CauseRpcErrorKind
impl Send for CauseRpcErrorKind
impl Sync for CauseRpcErrorKind
impl Unpin for CauseRpcErrorKind
impl UnwindSafe for CauseRpcErrorKind
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