pub struct Agent<'a> {
pub agent_token: &'a str,
pub key: &'a SigningKey,
}Available on crate feature
client only.Expand description
The agent as it signs: its agent token, and the key that token binds.
Fields§
§agent_token: &'a strThe agent token its provider issued.
key: &'a SigningKeyThe key the token’s cnf.jwk names.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Agent<'a>
impl<'a> RefUnwindSafe for Agent<'a>
impl<'a> Send for Agent<'a>
impl<'a> Sync for Agent<'a>
impl<'a> Unpin for Agent<'a>
impl<'a> UnsafeUnpin for Agent<'a>
impl<'a> UnwindSafe for Agent<'a>
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