pub struct Claim {
pub pattern: String,
pub session: String,
pub harness: Option<String>,
pub pid: Option<u32>,
pub pid_start: Option<String>,
pub worktree: String,
pub branch: Option<String>,
pub note: Option<String>,
pub claimed_at: String,
pub expires_at: String,
}Expand description
One claim, as stored and as jouet claim ls --json prints it.
Fields§
§pattern: StringWhat is claimed, relative to the repository’s root.
session: String§harness: Option<String>claude, codex, or the agent AI_AGENT names.
pid: Option<u32>The agent process holding the claim; the claim lapses when it exits.
pid_start: Option<String>When that process started, so a reused PID does not keep it.
worktree: StringThe worktree the session works in.
branch: Option<String>§note: Option<String>§claimed_at: String§expires_at: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Claim
impl<'de> Deserialize<'de> for Claim
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
impl Eq for Claim
impl StructuralPartialEq for Claim
Auto Trait Implementations§
impl Forget for Claim
impl Freeze for Claim
impl Move for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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