Struct xoev_xwasser::IncidentType
source · pub struct IncidentType {
pub incident_identifier: String,
pub exceedance: Vec<String>,
pub incident_start_date: String,
pub incident_end_date: String,
pub incident_category: Vec<CodeIncidentCategoryType>,
pub incident_affected_population: u32,
pub remarks: Option<String>,
pub incident_cause_and_remedial_action: Vec<IncidentCauseAndRemedialActionType>,
pub _id: ConstStr,
}
Expand description
Klasse für den Transport von Informationen, die für Vorfälle gem. den neuen Vorgaben für das EU-Berichtsformat benötigt werden.
Fields§
§incident_identifier: String
§exceedance: Vec<String>
§incident_start_date: String
§incident_end_date: String
§incident_category: Vec<CodeIncidentCategoryType>
§incident_affected_population: u32
§remarks: Option<String>
§incident_cause_and_remedial_action: Vec<IncidentCauseAndRemedialActionType>
§_id: ConstStr
Trait Implementations§
source§impl Debug for IncidentType
impl Debug for IncidentType
source§impl Default for IncidentType
impl Default for IncidentType
source§fn default() -> IncidentType
fn default() -> IncidentType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IncidentType
impl<'de> Deserialize<'de> for IncidentType
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 Serialize for IncidentType
impl Serialize for IncidentType
source§impl Tsify for IncidentType
impl Tsify for IncidentType
type JsType = JsType
const DECL: &'static str = "export interface IncidentType {\n incident_identifier: string;\n exceedance: string[];\n incident_start_date: string;\n incident_end_date: string;\n incident_category: CodeIncidentCategoryType[];\n incident_affected_population: number;\n remarks: string | undefined;\n incident_cause_and_remedial_action: IncidentCauseAndRemedialActionType[];\n}"
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
source§impl XmlDeserialize for IncidentType
impl XmlDeserialize for IncidentType
Auto Trait Implementations§
impl Freeze for IncidentType
impl RefUnwindSafe for IncidentType
impl Send for IncidentType
impl Sync for IncidentType
impl Unpin for IncidentType
impl UnwindSafe for IncidentType
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