pub struct AgentCertificate {
pub type: String,
pub schema_version: Option<String>,
pub identity: AgentIdentity,
pub capabilities: AgentCapabilities,
pub declaration: AgentDeclaration,
pub signature: CertificateSignature,
}Expand description
The complete Agent Certificate – identity + capabilities + declaration with a signature over the canonical JSON of all three.
Fields§
§type: String§schema_version: Option<String>Schema version. Absent on pre-v0.9.0 certificates (treated as “0”). Set to “1” for v0.9.0+. Informational only in v0.9.0; future versions may use this to gate verification rule selection.
identity: AgentIdentity§capabilities: AgentCapabilities§declaration: AgentDeclaration§signature: CertificateSignatureTrait Implementations§
Source§impl Clone for AgentCertificate
impl Clone for AgentCertificate
Source§fn clone(&self) -> AgentCertificate
fn clone(&self) -> AgentCertificate
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 AgentCertificate
impl Debug for AgentCertificate
Source§impl<'de> Deserialize<'de> for AgentCertificate
impl<'de> Deserialize<'de> for AgentCertificate
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 AgentCertificate
impl RefUnwindSafe for AgentCertificate
impl Send for AgentCertificate
impl Sync for AgentCertificate
impl Unpin for AgentCertificate
impl UnsafeUnpin for AgentCertificate
impl UnwindSafe for AgentCertificate
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