pub struct Alert {Show 13 fields
pub id: i32,
pub location_title: String,
pub location_type: LocationType,
pub started_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
pub finished_at: Option<String>,
pub alert_type: AlertType,
pub location_oblast: String,
pub location_uid: i32,
pub location_oblast_uid: i32,
pub notes: Option<String>,
pub country: Option<String>,
pub calculated: Option<bool>,
}Fields§
§id: i32§location_title: String§location_type: LocationType§started_at: OffsetDateTime§updated_at: OffsetDateTime§finished_at: Option<String>§alert_type: AlertType§location_oblast: String§location_uid: i32§location_oblast_uid: i32§notes: Option<String>§country: Option<String>§calculated: Option<bool>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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
impl StructuralPartialEq for Alert
Auto Trait Implementations§
impl Freeze for Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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