pub struct SessionStartArgs {
pub config_path: PathBuf,
pub cwd: Option<PathBuf>,
pub task: Option<String>,
pub profile: WakeupProfile,
}Expand description
Arguments for the session-start hook.
Fields§
§config_path: PathBuf§cwd: Option<PathBuf>Project root the user is currently working in. Defaults to the
process’s current_dir when absent.
task: Option<String>Optional task hint forwarded to the wakeup gateway. SessionStart
usually has no concrete task — we route by cwd alone — but we
keep the slot to mirror the CLI surface.
profile: WakeupProfileTrait Implementations§
Source§impl Clone for SessionStartArgs
impl Clone for SessionStartArgs
Source§fn clone(&self) -> SessionStartArgs
fn clone(&self) -> SessionStartArgs
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 moreAuto Trait Implementations§
impl Freeze for SessionStartArgs
impl RefUnwindSafe for SessionStartArgs
impl Send for SessionStartArgs
impl Sync for SessionStartArgs
impl Unpin for SessionStartArgs
impl UnsafeUnpin for SessionStartArgs
impl UnwindSafe for SessionStartArgs
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