pub struct AgentCredentialsInput {
pub agent_id: String,
pub outbound: HashMap<Channel, String>,
pub inbound: HashMap<Channel, Vec<String>>,
pub asymmetric_allowed: HashMap<Channel, bool>,
}Expand description
View of the per-agent config that the resolver needs — keeps this
crate independent of nexo-config. The wiring crate maps from
AgentConfig into this
shape just before calling AgentCredentialResolver::build.
Fields§
§agent_id: String§outbound: HashMap<Channel, String>Outbound binding per channel (channel -> account_id).
inbound: HashMap<Channel, Vec<String>>Inbound instance subscriptions per channel (parsed from
inbound_bindings). Used for the asymmetric-binding check.
asymmetric_allowed: HashMap<Channel, bool>Per-channel opt-out for the symmetric-binding warning.
Trait Implementations§
Source§impl Clone for AgentCredentialsInput
impl Clone for AgentCredentialsInput
Source§fn clone(&self) -> AgentCredentialsInput
fn clone(&self) -> AgentCredentialsInput
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 moreAuto Trait Implementations§
impl Freeze for AgentCredentialsInput
impl RefUnwindSafe for AgentCredentialsInput
impl Send for AgentCredentialsInput
impl Sync for AgentCredentialsInput
impl Unpin for AgentCredentialsInput
impl UnsafeUnpin for AgentCredentialsInput
impl UnwindSafe for AgentCredentialsInput
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