pub struct ErrorJson {
pub code: String,
pub message: String,
}Expand description
受け付けなかったときの答え(catapult の REST のエラーと同じ形)
Fields§
§code: String§message: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorJson
impl<'de> Deserialize<'de> for ErrorJson
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 ErrorJson
impl StructuralPartialEq for ErrorJson
Auto Trait Implementations§
impl Freeze for ErrorJson
impl RefUnwindSafe for ErrorJson
impl Send for ErrorJson
impl Sync for ErrorJson
impl Unpin for ErrorJson
impl UnsafeUnpin for ErrorJson
impl UnwindSafe for ErrorJson
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