pub struct NtfyErrorResponse {
pub code: u64,
pub http: u16,
pub error: String,
pub link: String,
}Fields§
§code: u64§http: u16§error: String§link: StringTrait Implementations§
Source§impl Clone for NtfyErrorResponse
impl Clone for NtfyErrorResponse
Source§fn clone(&self) -> NtfyErrorResponse
fn clone(&self) -> NtfyErrorResponse
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 NtfyErrorResponse
impl Debug for NtfyErrorResponse
Source§impl Default for NtfyErrorResponse
impl Default for NtfyErrorResponse
Source§fn default() -> NtfyErrorResponse
fn default() -> NtfyErrorResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NtfyErrorResponse
impl<'de> Deserialize<'de> for NtfyErrorResponse
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 NtfyErrorResponse
impl RefUnwindSafe for NtfyErrorResponse
impl Send for NtfyErrorResponse
impl Sync for NtfyErrorResponse
impl Unpin for NtfyErrorResponse
impl UnwindSafe for NtfyErrorResponse
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