pub struct AgentEventEnvelope {
pub hostname: String,
pub rollout_id: RolloutId,
pub event: AgentEvent,
pub signature: Option<String>,
}Expand description
Outer envelope agents POST to /v1/agent/events.
Fields§
§hostname: String§rollout_id: RolloutId§event: AgentEvent§signature: Option<String>Hex-encoded Ed25519 signature over canonicalised event bytes.
Optional in v0.2 (mTLS provides primary auth); enforced in
Phase 7+.
Trait Implementations§
Source§impl Clone for AgentEventEnvelope
impl Clone for AgentEventEnvelope
Source§fn clone(&self) -> AgentEventEnvelope
fn clone(&self) -> AgentEventEnvelope
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentEventEnvelope
impl Debug for AgentEventEnvelope
Source§impl<'de> Deserialize<'de> for AgentEventEnvelope
impl<'de> Deserialize<'de> for AgentEventEnvelope
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
Source§impl PartialEq for AgentEventEnvelope
impl PartialEq for AgentEventEnvelope
Source§impl Serialize for AgentEventEnvelope
impl Serialize for AgentEventEnvelope
impl StructuralPartialEq for AgentEventEnvelope
Auto Trait Implementations§
impl Freeze for AgentEventEnvelope
impl RefUnwindSafe for AgentEventEnvelope
impl Send for AgentEventEnvelope
impl Sync for AgentEventEnvelope
impl Unpin for AgentEventEnvelope
impl UnwindSafe for AgentEventEnvelope
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