pub struct Endpoint {
pub scheme: Scheme,
pub host: String,
pub port: u16,
pub base_path: String,
}Expand description
Where an adapter sends its exchanges.
Fields§
§scheme: Scheme§host: StringA host name or an IP literal (without brackets).
port: u16§base_path: StringA path prefix without a trailing /, possibly empty.
Implementations§
Trait Implementations§
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
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