pub struct KeyMaterial {
pub schema: String,
pub endpoint_class: String,
pub authority: String,
pub protocol: String,
pub proxy_route: String,
pub tls: Option<String>,
pub credential: String,
pub privacy: BTreeMap<String, String>,
pub principal_posture: String,
pub principal: Option<String>,
pub binding: Option<ArtifactId>,
}Expand description
Every isolation member of a pooled connection (spec 020, 3.5). Only digests of secrets: the credential identity is a digest, the principal reference is its evidence digest.
Fields§
§schema: String§endpoint_class: Stringscheme://host:port.
protocol: StringThe wire protocol and the HTTP version.
proxy_route: Stringdirect: the binding supports no proxy.
tls: Option<String>plaintext, webpki-roots, or the host’s label for its own TLS
configuration; None (unknown) disables reuse.
credential: Stringnone, or the digest of the credential’s identity.
privacy: BTreeMap<String, String>Privacy and provider-routing options.
principal_posture: Stringomitted, or host_operated with mapping version and scope.
principal: Option<String>The principal reference’s evidence digest, per exchange.
binding: Option<ArtifactId>Implementations§
Trait Implementations§
Source§impl Clone for KeyMaterial
impl Clone for KeyMaterial
Source§impl Debug for KeyMaterial
impl Debug for KeyMaterial
impl Eq for KeyMaterial
Source§impl PartialEq for KeyMaterial
impl PartialEq for KeyMaterial
Source§impl Serialize for KeyMaterial
impl Serialize for KeyMaterial
impl StructuralPartialEq for KeyMaterial
Auto Trait Implementations§
impl Freeze for KeyMaterial
impl RefUnwindSafe for KeyMaterial
impl Send for KeyMaterial
impl Sync for KeyMaterial
impl Unpin for KeyMaterial
impl UnsafeUnpin for KeyMaterial
impl UnwindSafe for KeyMaterial
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