pub struct ProcessAdvertisement {
pub global_pid: GlobalPid,
pub agent_type: String,
pub capabilities: Vec<String>,
pub services: Vec<String>,
pub status: ProcessStatus,
pub last_updated: u64,
pub resource_summary: Option<ResourceSummary>,
}Expand description
Process summary advertised to peer nodes.
Fields§
§global_pid: GlobalPidGlobally unique process ID.
agent_type: StringAgent type (e.g., “coder”, “reviewer”).
capabilities: Vec<String>Capabilities this process offers.
services: Vec<String>Services this process provides.
status: ProcessStatusCurrent process status.
last_updated: u64Last update timestamp (for LWW merge).
resource_summary: Option<ResourceSummary>Resource usage summary.
Trait Implementations§
Source§impl Clone for ProcessAdvertisement
impl Clone for ProcessAdvertisement
Source§impl Debug for ProcessAdvertisement
impl Debug for ProcessAdvertisement
Source§impl<'de> Deserialize<'de> for ProcessAdvertisement
impl<'de> Deserialize<'de> for ProcessAdvertisement
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
Auto Trait Implementations§
impl Freeze for ProcessAdvertisement
impl RefUnwindSafe for ProcessAdvertisement
impl Send for ProcessAdvertisement
impl Sync for ProcessAdvertisement
impl Unpin for ProcessAdvertisement
impl UnsafeUnpin for ProcessAdvertisement
impl UnwindSafe for ProcessAdvertisement
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<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