pub struct DesktopApiError {
pub code: String,
pub status: u16,
pub message: String,
pub details: Option<Value>,
}Expand description
Structured desktop bridge error payload.
Fields§
§code: String§status: u16§message: String§details: Option<Value>Trait Implementations§
Source§impl Clone for DesktopApiError
impl Clone for DesktopApiError
Source§fn clone(&self) -> DesktopApiError
fn clone(&self) -> DesktopApiError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DesktopApiError
impl Debug for DesktopApiError
Source§impl<'de> Deserialize<'de> for DesktopApiError
impl<'de> Deserialize<'de> for DesktopApiError
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
Auto Trait Implementations§
impl Freeze for DesktopApiError
impl RefUnwindSafe for DesktopApiError
impl Send for DesktopApiError
impl Sync for DesktopApiError
impl Unpin for DesktopApiError
impl UnsafeUnpin for DesktopApiError
impl UnwindSafe for DesktopApiError
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