pub struct LocalConfig {
pub stratum: Stratum,
pub orphan: bool,
pub distance: f64,
pub activate: f64,
pub wait_synced: f64,
pub wait_unsynced: f64,
}Expand description
Configuration for the local directive (local stratum reference).
Fields§
§stratum: Stratum§orphan: bool§distance: f64§activate: f64§wait_synced: f64§wait_unsynced: f64Trait Implementations§
Source§impl Clone for LocalConfig
impl Clone for LocalConfig
Source§fn clone(&self) -> LocalConfig
fn clone(&self) -> LocalConfig
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 LocalConfig
impl Debug for LocalConfig
Source§impl Default for LocalConfig
impl Default for LocalConfig
Source§impl PartialEq for LocalConfig
impl PartialEq for LocalConfig
Source§fn eq(&self, other: &LocalConfig) -> bool
fn eq(&self, other: &LocalConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalConfig
Auto Trait Implementations§
impl Freeze for LocalConfig
impl RefUnwindSafe for LocalConfig
impl Send for LocalConfig
impl Sync for LocalConfig
impl Unpin for LocalConfig
impl UnsafeUnpin for LocalConfig
impl UnwindSafe for LocalConfig
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