Struct wrangler::fixtures::WranglerToml[][src]

pub struct WranglerToml {
    pub name: Option<&'static str>,
    pub target_type: Option<&'static str>,
    pub account_id: Option<&'static str>,
    pub workers_dev: Option<bool>,
    pub route: Option<&'static str>,
    pub routes: Option<Vec<&'static str>>,
    pub zone_id: Option<&'static str>,
    pub webpack_config: Option<&'static str>,
    pub private: Option<bool>,
    pub env: Option<HashMap<&'static str, EnvConfig>>,
    pub kv_namespaces: Option<Vec<KvConfig>>,
    pub site: Option<SiteConfig>,
    pub vars: Option<HashMap<&'static str, &'static str>>,
    pub text_blobs: Option<HashMap<&'static str, &'static str>>,
    pub triggers: Option<Triggers>,
}

Fields

name: Option<&'static str>target_type: Option<&'static str>account_id: Option<&'static str>workers_dev: Option<bool>route: Option<&'static str>routes: Option<Vec<&'static str>>zone_id: Option<&'static str>webpack_config: Option<&'static str>private: Option<bool>env: Option<HashMap<&'static str, EnvConfig>>kv_namespaces: Option<Vec<KvConfig>>site: Option<SiteConfig>vars: Option<HashMap<&'static str, &'static str>>text_blobs: Option<HashMap<&'static str, &'static str>>triggers: Option<Triggers>

Implementations

impl WranglerToml[src]

pub fn webpack(name: &'static str) -> WranglerToml[src]

pub fn zoneless(
    name: &'static str,
    account_id: &'static str,
    workers_dev: bool
) -> WranglerToml
[src]

pub fn zoned_single_route(
    name: &'static str,
    zone_id: &'static str,
    route: &'static str
) -> WranglerToml
[src]

pub fn zoned_multi_route(
    name: &'static str,
    zone_id: &'static str,
    routes: Vec<&'static str>
) -> WranglerToml
[src]

pub fn with_env(name: &'static str, env_config: EnvConfig) -> WranglerToml[src]

pub fn zoneless_with_env(
    name: &'static str,
    account_id: &'static str,
    workers_dev: bool,
    env_config: EnvConfig
) -> WranglerToml
[src]

pub fn zoned_single_route_with_env(
    name: &'static str,
    zone_id: &'static str,
    route: &'static str,
    env_config: EnvConfig
) -> WranglerToml
[src]

pub fn webpack_build(name: &'static str) -> WranglerToml[src]

pub fn webpack_std_config(name: &'static str) -> WranglerToml[src]

pub fn webpack_custom_config(
    name: &'static str,
    webpack_config: &'static str
) -> WranglerToml
[src]

pub fn rust(name: &'static str) -> WranglerToml[src]

pub fn javascript(name: &'static str) -> WranglerToml[src]

pub fn site(name: &'static str) -> WranglerToml[src]

Trait Implementations

impl Clone for WranglerToml[src]

impl Debug for WranglerToml[src]

impl Default for WranglerToml[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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>,