Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct PolicyEnvelope<T> {
pub agent_identity: AgentIdentity,
pub policy_version: String,
pub created_at: DateTime<Utc>,
pub policy: T,
}
Versioned wrapper for an ACG policy document.
This envelope binds a concrete policy payload to the agent identity it was derived for and records the schema version and creation timestamp.
agent_identity: AgentIdentityAgent identity the enclosed policy applies to.
policy_version: StringVersion string for the policy schema or generation pipeline.
created_at: DateTime<Utc>Timestamp when the policy document was created.
policy: TConcrete policy payload.
impl<T: Clone> Clone for PolicyEnvelope<T>impl<T: Clone> Clone for PolicyEnvelope<T>
clonefn clone(&self) -> PolicyEnvelope<T>
clone_fromfn clone_from(&mut self, source: &Self)
impl<T: Debug> Debug for PolicyEnvelope<T>impl<T: Debug> Debug for PolicyEnvelope<T>
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de, T> Deserialize<'de> for PolicyEnvelope<T>where T: Deserialize<'de>,impl<'de, T> Deserialize<'de> for PolicyEnvelope<T>where
T: Deserialize<'de>,
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl<T: PartialEq> PartialEq for PolicyEnvelope<T>impl<T: PartialEq> PartialEq for PolicyEnvelope<T>
eqfn eq(&self, other: &PolicyEnvelope<T>) -> bool
nefn ne(&self, other: &Rhs) -> bool
impl<T> Serialize for PolicyEnvelope<T>where T: Serialize,impl<T> Serialize for PolicyEnvelope<T>where
T: Serialize,
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl<T> StructuralPartialEq for PolicyEnvelope<T>impl<T> StructuralPartialEq for PolicyEnvelope<T>