Struct near_rpc_error_core::ErrorType
source · [−]pub struct ErrorType {
pub name: String,
pub subtypes: Vec<String>,
pub props: BTreeMap<String, String>,
}
Fields
name: String
A type name of the error
subtypes: Vec<String>
Names of subtypes of the error
props: BTreeMap<String, String>
An error input name and a type
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ErrorType
impl<'de> Deserialize<'de> for ErrorType
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ErrorType
impl Send for ErrorType
impl Sync for ErrorType
impl Unpin for ErrorType
impl UnwindSafe for ErrorType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more