pub struct SessionStartHook { /* private fields */ }Expand description
SessionStart hook content builder
Implementations§
Source§impl SessionStartHook
impl SessionStartHook
Sourcepub fn add_mandatory_skill(self, skill_name: impl Into<String>) -> Self
pub fn add_mandatory_skill(self, skill_name: impl Into<String>) -> Self
Add a mandatory skill
Sourcepub fn with_red_flags(self, include: bool) -> Self
pub fn with_red_flags(self, include: bool) -> Self
Set whether to include red flags
Sourcepub fn with_custom_content(self, content: impl Into<String>) -> Self
pub fn with_custom_content(self, content: impl Into<String>) -> Self
Set custom hook content
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionStartHook
impl RefUnwindSafe for SessionStartHook
impl Send for SessionStartHook
impl Sync for SessionStartHook
impl Unpin for SessionStartHook
impl UnsafeUnpin for SessionStartHook
impl UnwindSafe for SessionStartHook
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