pub struct RunningRecord {
pub session_id: String,
pub url: String,
pub pid: u32,
pub process_start: String,
pub capsule_name: String,
pub capsule_version: String,
pub workdir: PathBuf,
pub outlives_launcher: bool,
pub started_at: String,
}Expand description
Where one running session’s door is, and which process holds it.
Every field is required. There is no version field: a record that does not deserialize names no process that could be checked, and is pruned, which is what “the record is a hint” already means.
Fields§
§session_id: StringThe session this door answers for, compared against the agent card by layer 3.
url: Stringhost:port the A2A door is bound to.
pid: u32The process holding the door.
process_start: StringThat process’s start time, as an opaque platform-local token — see process_start_token.
capsule_name: String§capsule_version: String§workdir: PathBufThe session directory, so a reader can find the trace of what it is watching.
outlives_launcher: boolWhether the capsule survives the window that launched it — true when the launching
process had no controlling terminal.
started_at: StringRFC 3339, in UTC.
Trait Implementations§
Source§impl Clone for RunningRecord
impl Clone for RunningRecord
Source§fn clone(&self) -> RunningRecord
fn clone(&self) -> RunningRecord
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 RunningRecord
impl Debug for RunningRecord
Source§impl<'de> Deserialize<'de> for RunningRecord
impl<'de> Deserialize<'de> for RunningRecord
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 RunningRecord
Source§impl PartialEq for RunningRecord
impl PartialEq for RunningRecord
Source§impl Serialize for RunningRecord
impl Serialize for RunningRecord
impl StructuralPartialEq for RunningRecord
Auto Trait Implementations§
impl Freeze for RunningRecord
impl RefUnwindSafe for RunningRecord
impl Send for RunningRecord
impl Sync for RunningRecord
impl Unpin for RunningRecord
impl UnsafeUnpin for RunningRecord
impl UnwindSafe for RunningRecord
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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