pub struct AppleEventReport {
pub script_bytes: usize,
pub script_hash: String,
pub stdout: String,
pub stderr: String,
pub exit_status: i32,
}Expand description
Outcome of an Apple event script.
Fields§
§script_bytes: usizeNumber of bytes in the original script. The body is never logged.
script_hash: StringLowercase hex hash of the script body. Audit lines include this so a script can be identified without leaking its content.
stdout: StringStandard output, trimmed to one line. Empty when the script did not write anything.
stderr: StringStandard error, trimmed. Empty when osascript was silent.
exit_status: i32Exit status of osascript.
Trait Implementations§
Source§impl Clone for AppleEventReport
impl Clone for AppleEventReport
Source§impl Debug for AppleEventReport
impl Debug for AppleEventReport
Source§impl PartialEq for AppleEventReport
impl PartialEq for AppleEventReport
Source§impl Serialize for AppleEventReport
impl Serialize for AppleEventReport
impl StructuralPartialEq for AppleEventReport
Auto Trait Implementations§
impl Freeze for AppleEventReport
impl RefUnwindSafe for AppleEventReport
impl Send for AppleEventReport
impl Sync for AppleEventReport
impl Unpin for AppleEventReport
impl UnsafeUnpin for AppleEventReport
impl UnwindSafe for AppleEventReport
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