pub struct FaultyTrafficLight {
pub alarm_id: String,
pub node_id: String,
pub technical_alarm_type: TechnicalAlarmType,
pub start_date: Option<OffsetDateTime>,
pub end_date: Option<OffsetDateTime>,
pub message: String,
}
Fields§
§alarm_id: String
§node_id: String
§technical_alarm_type: TechnicalAlarmType
§start_date: Option<OffsetDateTime>
§end_date: Option<OffsetDateTime>
§message: String
Trait Implementations§
source§impl Clone for FaultyTrafficLight
impl Clone for FaultyTrafficLight
source§fn clone(&self) -> FaultyTrafficLight
fn clone(&self) -> FaultyTrafficLight
Returns a copy 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 FaultyTrafficLight
impl Debug for FaultyTrafficLight
source§impl<'de> Deserialize<'de> for FaultyTrafficLight
impl<'de> Deserialize<'de> for FaultyTrafficLight
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 FaultyTrafficLight
impl PartialEq for FaultyTrafficLight
source§fn eq(&self, other: &FaultyTrafficLight) -> bool
fn eq(&self, other: &FaultyTrafficLight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FaultyTrafficLight
impl Serialize for FaultyTrafficLight
impl StructuralPartialEq for FaultyTrafficLight
Auto Trait Implementations§
impl RefUnwindSafe for FaultyTrafficLight
impl Send for FaultyTrafficLight
impl Sync for FaultyTrafficLight
impl Unpin for FaultyTrafficLight
impl UnwindSafe for FaultyTrafficLight
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