Struct zbx_sender::Response
source · [−]pub struct Response { /* private fields */ }
Expand description
Structure of Zabbix server’s response
Implementations
sourceimpl Response
impl Response
sourcepub fn processed_cnt(&self) -> Option<i32>
pub fn processed_cnt(&self) -> Option<i32>
return the number of successful processed commands
sourcepub fn failed_cnt(&self) -> Option<i32>
pub fn failed_cnt(&self) -> Option<i32>
return the number of failed commands
sourcepub fn seconds_spent(&self) -> Option<f32>
pub fn seconds_spent(&self) -> Option<f32>
return the time spent to send the command
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
sourcefn 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 RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more