pub struct ReactorTask {
pub name: String,
pub priority_score: i64,
pub seq: u64,
pub uncertainty: f64,
pub risk: f64,
pub preemptible: bool,
}Fields§
§name: String§priority_score: i64§seq: u64§uncertainty: f64§risk: f64§preemptible: boolTrait Implementations§
Source§impl Clone for ReactorTask
impl Clone for ReactorTask
Source§impl Debug for ReactorTask
impl Debug for ReactorTask
Source§impl<'de> Deserialize<'de> for ReactorTask
impl<'de> Deserialize<'de> for ReactorTask
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 Eq for ReactorTask
Source§impl Ord for ReactorTask
impl Ord for ReactorTask
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReactorTask
impl PartialEq for ReactorTask
Source§impl PartialOrd for ReactorTask
impl PartialOrd for ReactorTask
Source§impl Serialize for ReactorTask
impl Serialize for ReactorTask
impl StructuralPartialEq for ReactorTask
Auto Trait Implementations§
impl Forget for ReactorTask
impl Freeze for ReactorTask
impl Move for ReactorTask
impl RefUnwindSafe for ReactorTask
impl Send for ReactorTaskwhere
RawVecInner: Send,
impl Sync for ReactorTaskwhere
RawVecInner: Sync,
impl Unpin for ReactorTask
impl UnsafeUnpin for ReactorTask
impl UnwindSafe for ReactorTaskwhere
RawVecInner: UnwindSafe,
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