pub struct BaseHookInput {
pub session_id: String,
pub transcript_path: String,
pub cwd: String,
pub permission_mode: Option<String>,
}Expand description
Base hook input fields.
Fields§
§session_id: StringSession ID.
transcript_path: StringPath to transcript file.
cwd: StringCurrent working directory.
permission_mode: Option<String>Current permission mode.
Trait Implementations§
Source§impl Clone for BaseHookInput
impl Clone for BaseHookInput
Source§fn clone(&self) -> BaseHookInput
fn clone(&self) -> BaseHookInput
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 BaseHookInput
impl Debug for BaseHookInput
Source§impl<'de> Deserialize<'de> for BaseHookInput
impl<'de> Deserialize<'de> for BaseHookInput
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 BaseHookInput
impl RefUnwindSafe for BaseHookInput
impl Send for BaseHookInput
impl Sync for BaseHookInput
impl Unpin for BaseHookInput
impl UnsafeUnpin for BaseHookInput
impl UnwindSafe for BaseHookInput
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