pub struct CfApiError {
pub code: i32,
pub message: String,
}Expand description
Cloudflare API error entry from a response envelope.
Fields§
§code: i32Cloudflare numeric error code.
message: StringHuman-readable Cloudflare error message.
Trait Implementations§
Source§impl Debug for CfApiError
impl Debug for CfApiError
Source§impl<'de> Deserialize<'de> for CfApiError
impl<'de> Deserialize<'de> for CfApiError
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 CfApiError
impl RefUnwindSafe for CfApiError
impl Send for CfApiError
impl Sync for CfApiError
impl Unpin for CfApiError
impl UnsafeUnpin for CfApiError
impl UnwindSafe for CfApiError
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