pub struct DirectCandidate {
pub kind: CandidateKind,
pub address: String,
pub url: String,
}Expand description
A base URL to try.
Fields§
§kind: CandidateKind§address: String§url: StringBase URL without trailing slash.
Trait Implementations§
Source§impl Clone for DirectCandidate
impl Clone for DirectCandidate
Source§impl Debug for DirectCandidate
impl Debug for DirectCandidate
Source§impl<'de> Deserialize<'de> for DirectCandidate
impl<'de> Deserialize<'de> for DirectCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DirectCandidate
Source§impl Hash for DirectCandidate
impl Hash for DirectCandidate
Source§impl PartialEq for DirectCandidate
impl PartialEq for DirectCandidate
Source§impl Serialize for DirectCandidate
impl Serialize for DirectCandidate
impl StructuralPartialEq for DirectCandidate
Auto Trait Implementations§
impl Forget for DirectCandidate
impl Freeze for DirectCandidate
impl Move for DirectCandidate
impl RefUnwindSafe for DirectCandidate
impl Send for DirectCandidatewhere
RawVecInner: Send,
impl Sync for DirectCandidatewhere
RawVecInner: Sync,
impl Unpin for DirectCandidate
impl UnsafeUnpin for DirectCandidate
impl UnwindSafe for DirectCandidatewhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.