[][src]Struct nature_common::MetaSetting

pub struct MetaSetting {
    pub is_state: bool,
    pub master: Option<String>,
    pub multi_meta: Option<MultiMetaSetting>,
    pub conflict_avoid: bool,
}

Fields

is_state: boolmaster: Option<String>

Only useful for state-meta. A meta_string, this meta instance's id will use its master instance's id. As a target meta, if no executor appointed. an auto-converter will be created.

multi_meta: Option<MultiMetaSetting>conflict_avoid: bool

Nature will cache the saved instance for a while, and check before saving the following same instances.

Trait Implementations

impl Clone for MetaSetting[src]

impl Debug for MetaSetting[src]

impl Default for MetaSetting[src]

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

impl Eq for MetaSetting[src]

impl Ord for MetaSetting[src]

impl PartialEq<MetaSetting> for MetaSetting[src]

impl PartialOrd<MetaSetting> for MetaSetting[src]

impl Serialize for MetaSetting[src]

impl StructuralEq for MetaSetting[src]

impl StructuralPartialEq for MetaSetting[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<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>,