pub struct TransportChoice {
pub kind: TransportKind,
pub endpoint: String,
}Expand description
The transport chosen for a registry, and where to send.
Fields§
§kind: TransportKindThe selected binding.
endpoint: StringWhere to route: the registry’s mediator DID for TSP/DIDComm (resolve onward), its base URL for HTTPS.
Trait Implementations§
Source§impl Clone for TransportChoice
impl Clone for TransportChoice
Source§fn clone(&self) -> TransportChoice
fn clone(&self) -> TransportChoice
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 TransportChoice
impl Debug for TransportChoice
impl Eq for TransportChoice
Source§impl PartialEq for TransportChoice
impl PartialEq for TransportChoice
impl StructuralPartialEq for TransportChoice
Auto Trait Implementations§
impl Freeze for TransportChoice
impl RefUnwindSafe for TransportChoice
impl Send for TransportChoice
impl Sync for TransportChoice
impl Unpin for TransportChoice
impl UnsafeUnpin for TransportChoice
impl UnwindSafe for TransportChoice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.