[][src]Struct mysql_fetcher::config::MySqlConfig

pub struct MySqlConfig {
    pub enabled: bool,
    pub db_config: DbConfig,
    pub tables: HashMap<String, TableConfig>,
    pub periodic_fetch_duration: u32,
    pub fetch_limit: usize,
}

Fields

enabled: booldb_config: DbConfigtables: HashMap<String, TableConfig>periodic_fetch_duration: u32fetch_limit: usize

Methods

impl MySqlConfig[src]

pub fn from_file(file: &str) -> MySqlConfig[src]

pub fn to_string(&self) -> String[src]

Trait Implementations

impl Clone for MySqlConfig[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for MySqlConfig[src]

impl Debug for MySqlConfig[src]

impl Serialize for MySqlConfig[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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