pub struct AgentRecord {
pub name: String,
pub harness: AgentHarness,
pub purpose: String,
pub owner: String,
pub service: Option<String>,
pub created_at_ms: u64,
pub transitions: Vec<AgentTransition>,
}Expand description
One station, as returned after restoration.
Fields§
§name: StringOne segment, exactly the Lys agent holder id.
harness: AgentHarnessThe profile’s harness label.
purpose: StringOne sentence stating its job.
owner: StringThe person who created it.
service: Option<String>The service it builds.
created_at_ms: u64Epoch milliseconds of creation.
transitions: Vec<AgentTransition>Every transition, oldest first; retirement never removes one.
Implementations§
Source§impl AgentRecord
impl AgentRecord
Sourcepub fn connection(&self) -> Option<u64>
pub fn connection(&self) -> Option<u64>
Its last observed connection; lifecycle requests do not invent presence.
Trait Implementations§
Source§impl Clone for AgentRecord
impl Clone for AgentRecord
Source§impl Debug for AgentRecord
impl Debug for AgentRecord
Source§impl<'de> Deserialize<'de> for AgentRecord
impl<'de> Deserialize<'de> for AgentRecord
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 AgentRecord
Source§impl PartialEq for AgentRecord
impl PartialEq for AgentRecord
Source§impl Serialize for AgentRecord
impl Serialize for AgentRecord
impl StructuralPartialEq for AgentRecord
Auto Trait Implementations§
impl Freeze for AgentRecord
impl RefUnwindSafe for AgentRecord
impl Send for AgentRecord
impl Sync for AgentRecord
impl Unpin for AgentRecord
impl UnsafeUnpin for AgentRecord
impl UnwindSafe for AgentRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.