pub enum EgressIdentity {
A2ac {
agent_card_url: String,
},
SstM2m {
client_id: String,
},
}Expand description
Which identity mechanism an Http/Grpc egress call presents to its
target, decided statically when the crate::CapabilityGrant is
authored — never resolved dynamically at call time. See ADR-002
(agent-to-agent identity via edge-a2ac) and ADR-003 (control-plane and
M2M identity via SST) for what each variant actually wires to; this
port only carries the choice.
Variants§
A2ac
Present an edge-a2ac AgentIdentity-bound certificate — the target
is another A2A agent.
SstM2m
Present an SST machine-to-machine credential — the target is an ordinary internal service, not an A2A agent.
Trait Implementations§
Source§impl Clone for EgressIdentity
impl Clone for EgressIdentity
Source§fn clone(&self) -> EgressIdentity
fn clone(&self) -> EgressIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EgressIdentity
impl Debug for EgressIdentity
Source§impl<'de> Deserialize<'de> for EgressIdentity
impl<'de> Deserialize<'de> for EgressIdentity
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 EgressIdentity
Source§impl PartialEq for EgressIdentity
impl PartialEq for EgressIdentity
Source§impl Serialize for EgressIdentity
impl Serialize for EgressIdentity
impl StructuralPartialEq for EgressIdentity
Auto Trait Implementations§
impl Freeze for EgressIdentity
impl RefUnwindSafe for EgressIdentity
impl Send for EgressIdentity
impl Sync for EgressIdentity
impl Unpin for EgressIdentity
impl UnsafeUnpin for EgressIdentity
impl UnwindSafe for EgressIdentity
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