#[non_exhaustive]pub struct DiscoveredController {
pub url: String,
pub pki_addr: Option<String>,
pub ca_fingerprint: Option<String>,
}Expand description
A controller discovered via mDNS.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: StringThe discovered (or TXT-override) HTTPS URL of the controller.
pki_addr: Option<String>Optional PKI endpoint address from the TXT record.
ca_fingerprint: Option<String>CA fingerprint from the TXT record (for TOFU verification).
Implementations§
Trait Implementations§
Source§impl Clone for DiscoveredController
impl Clone for DiscoveredController
Source§fn clone(&self) -> DiscoveredController
fn clone(&self) -> DiscoveredController
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 DiscoveredController
impl Debug for DiscoveredController
impl Eq for DiscoveredController
Source§impl PartialEq for DiscoveredController
impl PartialEq for DiscoveredController
impl StructuralPartialEq for DiscoveredController
Auto Trait Implementations§
impl Freeze for DiscoveredController
impl RefUnwindSafe for DiscoveredController
impl Send for DiscoveredController
impl Sync for DiscoveredController
impl Unpin for DiscoveredController
impl UnsafeUnpin for DiscoveredController
impl UnwindSafe for DiscoveredController
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.