Struct netlify_toml::Context [−][src]
pub struct Context {
pub base: Option<String>,
pub command: Option<String>,
pub edge_handlers: Option<String>,
pub environment: Option<HashMap<String, String>>,
pub functions: Option<ContextFunctions>,
pub publish: Option<String>,
}
Expand description
Context overrides the build variables Netlify uses to build a site before deploying it.
Fields
base: Option<String>
command: Option<String>
edge_handlers: Option<String>
environment: Option<HashMap<String, String>>
functions: Option<ContextFunctions>
publish: Option<String>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Context
impl UnwindSafe for Context
Blanket Implementations
Mutably borrows from an owned value. Read more