pub struct SensorEntry {
pub model: String,
pub manufacturer: String,
pub sensor_type: String,
pub description: Option<String>,
pub sensitivity: f64,
pub sensitivity_unit: String,
pub frequency_range: (f64, f64),
pub natural_period: Option<f64>,
pub damping: Option<f64>,
}Expand description
A sensor specification from the built-in database.
Fields§
§model: StringModel name (e.g. “GS-11D”, “STS-2”)
manufacturer: StringManufacturer name
sensor_type: StringSensor type (e.g. “Geophone”, “Broadband”)
description: Option<String>Human-readable description
sensitivity: f64Sensitivity in V per (m/s) or V per (m/s^2)
sensitivity_unit: StringSensitivity unit: “M/S” or “M/S**2”
frequency_range: (f64, f64)Operating frequency range as (low_hz, high_hz)
natural_period: Option<f64>Natural period in seconds (for geophones)
damping: Option<f64>Damping ratio (fraction of critical damping)
Trait Implementations§
Source§impl Clone for SensorEntry
impl Clone for SensorEntry
Source§fn clone(&self) -> SensorEntry
fn clone(&self) -> SensorEntry
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 SensorEntry
impl Debug for SensorEntry
Source§impl<'de> Deserialize<'de> for SensorEntry
impl<'de> Deserialize<'de> for SensorEntry
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 SensorEntry
impl PartialEq for SensorEntry
Source§impl Serialize for SensorEntry
impl Serialize for SensorEntry
impl StructuralPartialEq for SensorEntry
Auto Trait Implementations§
impl Freeze for SensorEntry
impl RefUnwindSafe for SensorEntry
impl Send for SensorEntry
impl Sync for SensorEntry
impl Unpin for SensorEntry
impl UnsafeUnpin for SensorEntry
impl UnwindSafe for SensorEntry
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