pub struct HookVars {
pub id: Option<String>,
pub title: Option<String>,
pub status: Option<String>,
pub attempt: Option<u32>,
pub output: Option<String>,
pub parent: Option<String>,
pub children: Option<String>,
pub branch: Option<String>,
}Expand description
Template variables for config hook expansion.
Each field maps to a {name} placeholder in the hook command template.
Missing variables are left as-is (e.g., {attempt} stays literal if not set).
Fields§
§id: Option<String>§title: Option<String>§status: Option<String>§attempt: Option<u32>§output: Option<String>§parent: Option<String>§children: Option<String>§branch: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookVars
impl RefUnwindSafe for HookVars
impl Send for HookVars
impl Sync for HookVars
impl Unpin for HookVars
impl UnsafeUnpin for HookVars
impl UnwindSafe for HookVars
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more