Struct ntp_proto::StateUpdate
source · pub struct StateUpdate<PeerID: Eq + Copy + Debug> {
pub time_snapshot: Option<TimeSnapshot>,
pub used_peers: Option<Vec<PeerID>>,
pub next_update: Option<NtpTimestamp>,
}Fields§
§time_snapshot: Option<TimeSnapshot>§used_peers: Option<Vec<PeerID>>§next_update: Option<NtpTimestamp>Trait Implementations§
source§impl<PeerID: Clone + Eq + Copy + Debug> Clone for StateUpdate<PeerID>
impl<PeerID: Clone + Eq + Copy + Debug> Clone for StateUpdate<PeerID>
source§fn clone(&self) -> StateUpdate<PeerID>
fn clone(&self) -> StateUpdate<PeerID>
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 more