[][src]Struct nature_db::Mission

pub struct Mission {
    pub to: Meta,
    pub executor: Executor,
    pub states_demand: Option<TargetState>,
    pub use_upstream_id: bool,
    pub delay: i32,
}

the compose of Mapping::from, Mapping::to and Weight::label must be unique

Fields

to: Metaexecutor: Executorstates_demand: Option<TargetState>use_upstream_id: booldelay: i32

Methods

impl Mission[src]

pub fn for_dynamic(dynamic: Vec<DynamicConverter>) -> Result<Vec<Mission>>[src]

pub fn get_by_instance(
    instance: &Instance,
    relations: &Option<Vec<Relation>>,
    ctx_chk: ContextChecker,
    sta_chk: StateChecker
) -> Option<Vec<Mission>>
[src]

Check the instance's context, sys_context and states whether satisfy the Selector request

Trait Implementations

impl Clone for Mission[src]

impl Debug for Mission[src]

impl Default for Mission[src]

impl<'de> Deserialize<'de> for Mission[src]

impl Serialize for Mission[src]

Auto Trait Implementations

impl RefUnwindSafe for Mission

impl Send for Mission

impl Sync for Mission

impl Unpin for Mission

impl UnwindSafe for Mission

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,