pub struct Oscillator {
pub device: String,
pub running: bool,
pub reference: bool,
pub disciplined: bool,
}Expand description
Oscillator/clock discipline status
Reports the status of the system’s precision time reference.
Fields§
§device: StringDevice path of the oscillator
running: boolWhether the oscillator is running
reference: boolWhether this is the reference clock
disciplined: boolWhether the clock is disciplined (synchronized)
Trait Implementations§
Source§impl Clone for Oscillator
impl Clone for Oscillator
Source§fn clone(&self) -> Oscillator
fn clone(&self) -> Oscillator
Returns a duplicate 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 Oscillator
impl Debug for Oscillator
Source§impl<'de> Deserialize<'de> for Oscillator
impl<'de> Deserialize<'de> for Oscillator
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
Source§impl PartialEq for Oscillator
impl PartialEq for Oscillator
impl StructuralPartialEq for Oscillator
Auto Trait Implementations§
impl Freeze for Oscillator
impl RefUnwindSafe for Oscillator
impl Send for Oscillator
impl Sync for Oscillator
impl Unpin for Oscillator
impl UnwindSafe for Oscillator
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