pub struct ShellOutputResponse {
pub running: bool,
pub exit_code: Option<i32>,
pub output: String,
pub truncated: bool,
pub captured: Vec<String>,
pub withheld: Option<String>,
}Expand description
Response from POST /api/v1/shell/output
Fields§
§running: bool§exit_code: Option<i32>§output: StringThe last lines the job wrote, with every Vault value taken out.
truncated: boolOlder lines were left out, or a line was cut short.
captured: Vec<String>The entries capture stored, in the order of its rules, once the job ended.
withheld: Option<String>Why capture failed, and so why the output is withheld.
Trait Implementations§
Source§impl Clone for ShellOutputResponse
impl Clone for ShellOutputResponse
Source§fn clone(&self) -> ShellOutputResponse
fn clone(&self) -> ShellOutputResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShellOutputResponse
impl Debug for ShellOutputResponse
Source§impl<'de> Deserialize<'de> for ShellOutputResponse
impl<'de> Deserialize<'de> for ShellOutputResponse
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 ShellOutputResponse
impl RefUnwindSafe for ShellOutputResponse
impl Send for ShellOutputResponse
impl Sync for ShellOutputResponse
impl Unpin for ShellOutputResponse
impl UnsafeUnpin for ShellOutputResponse
impl UnwindSafe for ShellOutputResponse
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