pub struct PatientConfig {
pub hospital_code: Option<String<32>>,
pub sex: Option<String<1>>,
pub birthdate: Option<NaiveDate>,
pub name: Option<String<32>>,
}Expand description
Patient information for EDF header.
Fields§
§hospital_code: Option<String<32>>Hospital code or other patient identifier (e.g. “HOSP1234”).
sex: Option<String<1>>Patient sex, e.g. “M”, “F”, “O” (other/unknown).
birthdate: Option<NaiveDate>Patient birthdate (e.g. “1980-12-31”).
name: Option<String<32>>Patient name (e.g. “John Doe”).
Trait Implementations§
Source§impl Debug for PatientConfig
impl Debug for PatientConfig
Source§impl Default for PatientConfig
impl Default for PatientConfig
Source§fn default() -> PatientConfig
fn default() -> PatientConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatientConfig
impl<'de> Deserialize<'de> for PatientConfig
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 PatientConfig
impl RefUnwindSafe for PatientConfig
impl Send for PatientConfig
impl Sync for PatientConfig
impl Unpin for PatientConfig
impl UnwindSafe for PatientConfig
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