Struct icinga2_api::types::action::ExecuteCommandResponse
source · [−]pub struct ExecuteCommandResponse {
pub code: f64,
pub status: String,
pub checkable: Option<String>,
pub execution: Option<String>,
}
Expand description
result of the execute-command action API call
Fields
code: f64
the HTTP status code, as a float because Icinga is strange
status: String
a textual status response
checkable: Option<String>
the checkable (host or service) on which the command is run
execution: Option<String>
the execution UUID
Trait Implementations
sourceimpl Clone for ExecuteCommandResponse
impl Clone for ExecuteCommandResponse
sourcefn clone(&self) -> ExecuteCommandResponse
fn clone(&self) -> ExecuteCommandResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExecuteCommandResponse
impl Debug for ExecuteCommandResponse
sourceimpl<'de> Deserialize<'de> for ExecuteCommandResponse
impl<'de> Deserialize<'de> for ExecuteCommandResponse
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
sourceimpl Serialize for ExecuteCommandResponse
impl Serialize for ExecuteCommandResponse
Auto Trait Implementations
impl RefUnwindSafe for ExecuteCommandResponse
impl Send for ExecuteCommandResponse
impl Sync for ExecuteCommandResponse
impl Unpin for ExecuteCommandResponse
impl UnwindSafe for ExecuteCommandResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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