pub struct AdminEndpoint {
pub host: String,
pub port: u16,
pub path: String,
}Expand description
Parsed admin endpoint: host without brackets, port, and absolute path.
Fields§
§host: StringHost without surrounding [] (IPv6 brackets are reapplied at dial).
port: u16TCP port (default 9090).
path: StringAbsolute request path (always starts with /).
Trait Implementations§
Source§impl Clone for AdminEndpoint
impl Clone for AdminEndpoint
Source§fn clone(&self) -> AdminEndpoint
fn clone(&self) -> AdminEndpoint
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 AdminEndpoint
impl Debug for AdminEndpoint
impl Eq for AdminEndpoint
Source§impl PartialEq for AdminEndpoint
impl PartialEq for AdminEndpoint
impl StructuralPartialEq for AdminEndpoint
Auto Trait Implementations§
impl Freeze for AdminEndpoint
impl RefUnwindSafe for AdminEndpoint
impl Send for AdminEndpoint
impl Sync for AdminEndpoint
impl Unpin for AdminEndpoint
impl UnsafeUnpin for AdminEndpoint
impl UnwindSafe for AdminEndpoint
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.