[][src]Struct df_st_core::config::LimitsConfig

pub struct LimitsConfig {
    pub values: HashMap<String, u64>,
}

Everything in the configuration under df_storyteller-config.json.server.limits.

Fields

values: HashMap<String, u64>

The maximum amount of data DF Storyteller API will accept for a given data type. For more info see: https://rocket.rs/v0.4/guide/configuration/#data-limits

Trait Implementations

impl Clone for LimitsConfig[src]

impl Debug for LimitsConfig[src]

impl Default for LimitsConfig[src]

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

impl PartialEq<LimitsConfig> for LimitsConfig[src]

impl Serialize for LimitsConfig[src]

impl StructuralPartialEq for LimitsConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for LimitsConfig

impl Send for LimitsConfig

impl Sync for LimitsConfig

impl Unpin for LimitsConfig

impl UnwindSafe for LimitsConfig

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: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[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.