Struct zabbix_api::error::ZabbixError
source · pub struct ZabbixError {
pub code: i32,
pub message: String,
pub data: String,
}
Fields§
§code: i32
§message: String
§data: String
Trait Implementations§
source§impl Debug for ZabbixError
impl Debug for ZabbixError
source§impl<'de> Deserialize<'de> for ZabbixError
impl<'de> Deserialize<'de> for ZabbixError
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
source§impl Display for ZabbixError
impl Display for ZabbixError
source§impl Error for ZabbixError
impl Error for ZabbixError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for ZabbixError
impl Send for ZabbixError
impl Sync for ZabbixError
impl Unpin for ZabbixError
impl UnwindSafe for ZabbixError
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