pub struct SafetyFunction {
pub function_id: Option<String>,
pub name: Option<String>,
pub is_active: Option<bool>,
pub status: Option<String>,
pub last_check: Option<DateTime<Utc>>,
}Expand description
Individual safety function status.
Fields§
§function_id: Option<String>Function ID
name: Option<String>Function name
is_active: Option<bool>Whether active
status: Option<String>Status
last_check: Option<DateTime<Utc>>Last check timestamp
Trait Implementations§
Source§impl Clone for SafetyFunction
impl Clone for SafetyFunction
Source§fn clone(&self) -> SafetyFunction
fn clone(&self) -> SafetyFunction
Returns a duplicate 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 SafetyFunction
impl Debug for SafetyFunction
Source§impl Default for SafetyFunction
impl Default for SafetyFunction
Source§fn default() -> SafetyFunction
fn default() -> SafetyFunction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SafetyFunction
impl<'de> Deserialize<'de> for SafetyFunction
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 SafetyFunction
impl RefUnwindSafe for SafetyFunction
impl Send for SafetyFunction
impl Sync for SafetyFunction
impl Unpin for SafetyFunction
impl UnwindSafe for SafetyFunction
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