[][src]Struct nature_db::Mission

pub struct Mission {
    pub to: Meta,
    pub executor: Executor,
    pub filter_before: Vec<Executor>,
    pub filter_after: Vec<Executor>,
    pub target_demand: RelationTarget,
    pub use_upstream_id: bool,
    pub delay: i32,
    pub sys_context: HashMap<String, String>,
    pub id_bridge: bool,
}

Fields

to: Metaexecutor: Executorfilter_before: Vec<Executor>filter_after: Vec<Executor>target_demand: RelationTargetuse_upstream_id: booldelay: i32sys_context: HashMap<String, String>id_bridge: bool

Implementations

impl Mission[src]

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

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

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

pub async fn from_raw<MC, M, '_, '_, '_>(
    raw: &'_ MissionRaw,
    mc_g: &'_ MC,
    m_g: &'_ M
) -> Result<Self> where
    MC: MetaCache,
    M: MetaDao
[src]

Trait Implementations

impl Clone for Mission[src]

impl Debug for Mission[src]

impl Default for Mission[src]

impl From<Mission> for MissionRaw[src]

impl From<Relation> 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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,