pub struct HookResult {
pub hook_type: HookType,
pub command: String,
pub success: bool,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub duration_ms: u128,
}Expand description
フック実行の結果
Fields§
§hook_type: HookTypeフックタイプ
command: Stringコマンド文字列
success: bool実行成功したか
exit_code: Option<i32>終了コード
stdout: String標準出力
stderr: String標準エラー出力
duration_ms: u128実行時間(ミリ秒)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookResult
impl RefUnwindSafe for HookResult
impl Send for HookResult
impl Sync for HookResult
impl Unpin for HookResult
impl UnsafeUnpin for HookResult
impl UnwindSafe for HookResult
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