pub struct RecordingConfig {
pub study_code: Option<String<24>>,
pub technician_code: Option<String<16>>,
pub equipment_code: Option<String<16>>,
pub record_duration: Option<HumanDuration>,
}Expand description
Recording information for EDF header and recording configuration.
Fields§
§study_code: Option<String<24>>Study code (e.g. “Study Alpha”) to group related recordings together.
technician_code: Option<String<16>>Technician code (e.g. “TECH42”) to identify the person who performed the recording.
equipment_code: Option<String<16>>Equipment code (e.g. “ECG123”) used to identify the recording equipment.
record_duration: Option<HumanDuration>Duration of each EDF record, e.g. “30s”, “1m”, “1h”. Defaults to 5s if not specified.
Trait Implementations§
Source§impl Debug for RecordingConfig
impl Debug for RecordingConfig
Source§impl Default for RecordingConfig
impl Default for RecordingConfig
Source§fn default() -> RecordingConfig
fn default() -> RecordingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecordingConfig
impl<'de> Deserialize<'de> for RecordingConfig
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
Auto Trait Implementations§
impl Freeze for RecordingConfig
impl RefUnwindSafe for RecordingConfig
impl Send for RecordingConfig
impl Sync for RecordingConfig
impl Unpin for RecordingConfig
impl UnwindSafe for RecordingConfig
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