pub struct ParsedTarget<'a> {
pub host: &'a str,
pub port: Option<u16>,
pub is_ipv6_literal: bool,
}Expand description
Parsed view of a target string.
Fields§
§host: &'a str§port: Option<u16>§is_ipv6_literal: boolTrait Implementations§
Source§impl<'a> Clone for ParsedTarget<'a>
impl<'a> Clone for ParsedTarget<'a>
Source§fn clone(&self) -> ParsedTarget<'a>
fn clone(&self) -> ParsedTarget<'a>
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<'a> Debug for ParsedTarget<'a>
impl<'a> Debug for ParsedTarget<'a>
impl<'a> Eq for ParsedTarget<'a>
Source§impl<'a> PartialEq for ParsedTarget<'a>
impl<'a> PartialEq for ParsedTarget<'a>
impl<'a> StructuralPartialEq for ParsedTarget<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParsedTarget<'a>
impl<'a> RefUnwindSafe for ParsedTarget<'a>
impl<'a> Send for ParsedTarget<'a>
impl<'a> Sync for ParsedTarget<'a>
impl<'a> Unpin for ParsedTarget<'a>
impl<'a> UnsafeUnpin for ParsedTarget<'a>
impl<'a> UnwindSafe for ParsedTarget<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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