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§
Source§impl Clone for ExecuteCommandResponse
impl Clone for ExecuteCommandResponse
Source§fn clone(&self) -> ExecuteCommandResponse
fn clone(&self) -> ExecuteCommandResponse
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 ExecuteCommandResponse
impl Debug for ExecuteCommandResponse
Source§impl<'de> Deserialize<'de> for ExecuteCommandResponse
impl<'de> Deserialize<'de> for ExecuteCommandResponse
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 ExecuteCommandResponse
impl RefUnwindSafe for ExecuteCommandResponse
impl Send for ExecuteCommandResponse
impl Sync for ExecuteCommandResponse
impl Unpin for ExecuteCommandResponse
impl UnwindSafe for ExecuteCommandResponse
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