Struct ntp_daemon::config::NtsPeerConfig
source · pub struct NtsPeerConfig {
pub ke_addr: NormalizedAddress,
pub certificates: Arc<[Certificate]>,
}Fields§
§ke_addr: NormalizedAddress§certificates: Arc<[Certificate]>Trait Implementations§
source§impl Clone for NtsPeerConfig
impl Clone for NtsPeerConfig
source§fn clone(&self) -> NtsPeerConfig
fn clone(&self) -> NtsPeerConfig
Returns a copy of the value. Read more
1.0.0 · 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 NtsPeerConfig
impl Debug for NtsPeerConfig
source§impl PartialEq<NtsPeerConfig> for NtsPeerConfig
impl PartialEq<NtsPeerConfig> for NtsPeerConfig
source§fn eq(&self, other: &NtsPeerConfig) -> bool
fn eq(&self, other: &NtsPeerConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for NtsPeerConfig
impl StructuralEq for NtsPeerConfig
impl StructuralPartialEq for NtsPeerConfig
Auto Trait Implementations§
impl RefUnwindSafe for NtsPeerConfig
impl Send for NtsPeerConfig
impl Sync for NtsPeerConfig
impl Unpin for NtsPeerConfig
impl UnwindSafe for NtsPeerConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.