pub struct BasicEvent {
pub description: String,
pub probability: Option<f64>,
pub failure_rate: Option<f64>,
pub mission_time: Option<f64>,
pub undeveloped: Option<bool>,
pub event_type: Option<BasicEventType>,
pub message: Option<ExternalRef>,
}Fields§
§description: String§probability: Option<f64>§failure_rate: Option<f64>§mission_time: Option<f64>§undeveloped: Option<bool>§event_type: Option<BasicEventType>§message: Option<ExternalRef>Trait Implementations§
Source§impl Clone for BasicEvent
impl Clone for BasicEvent
Source§fn clone(&self) -> BasicEvent
fn clone(&self) -> BasicEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BasicEvent
impl Debug for BasicEvent
Source§impl<'de> Deserialize<'de> for BasicEvent
impl<'de> Deserialize<'de> for BasicEvent
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 BasicEvent
impl RefUnwindSafe for BasicEvent
impl Send for BasicEvent
impl Sync for BasicEvent
impl Unpin for BasicEvent
impl UnsafeUnpin for BasicEvent
impl UnwindSafe for BasicEvent
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