pub struct TransportTarget {
pub protocol: TransportProtocol,
pub url: String,
pub upstream_id: String,
}Expand description
A single transport target to try during fallback.
Fields§
§protocol: TransportProtocolThe transport protocol to use.
url: StringThe endpoint URL for this transport.
upstream_id: StringUpstream identifier for circuit breaker tracking.
Trait Implementations§
Source§impl Clone for TransportTarget
impl Clone for TransportTarget
Source§fn clone(&self) -> TransportTarget
fn clone(&self) -> TransportTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 TransportTarget
impl RefUnwindSafe for TransportTarget
impl Send for TransportTarget
impl Sync for TransportTarget
impl Unpin for TransportTarget
impl UnsafeUnpin for TransportTarget
impl UnwindSafe for TransportTarget
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