pub struct AgentGuardrails {
pub must_use_jj_skill: bool,
pub jj_skill_name: &'static str,
pub reopen_forbidden: bool,
pub complete_requires_jj_merge: bool,
}Expand description
Guardrails exposed to agents via JSON status output.
Fields§
§must_use_jj_skill: boolCommits, squash, push, and PR workflow belong to the $jj skill (jj mode only).
jj_skill_name: &'static str§reopen_forbidden: bool§complete_requires_jj_merge: boolTrue only for legacy per-TODO --worktree items managed by track.
Implementations§
Trait Implementations§
Source§impl Clone for AgentGuardrails
impl Clone for AgentGuardrails
Source§fn clone(&self) -> AgentGuardrails
fn clone(&self) -> AgentGuardrails
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 moreSource§impl Debug for AgentGuardrails
impl Debug for AgentGuardrails
Source§impl Default for AgentGuardrails
impl Default for AgentGuardrails
impl Eq for AgentGuardrails
Source§impl PartialEq for AgentGuardrails
impl PartialEq for AgentGuardrails
Source§fn eq(&self, other: &AgentGuardrails) -> bool
fn eq(&self, other: &AgentGuardrails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentGuardrails
impl Serialize for AgentGuardrails
impl StructuralPartialEq for AgentGuardrails
Auto Trait Implementations§
impl Freeze for AgentGuardrails
impl RefUnwindSafe for AgentGuardrails
impl Send for AgentGuardrails
impl Sync for AgentGuardrails
impl Unpin for AgentGuardrails
impl UnsafeUnpin for AgentGuardrails
impl UnwindSafe for AgentGuardrails
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