Struct wrangler::settings::toml::Manifest [−][src]
Fields
name: String
target_type: TargetType
account_id: String
workers_dev: Option<bool>
route: Option<String>
routes: Option<Vec<String>>
zone_id: Option<String>
webpack_config: Option<String>
private: Option<bool>
site: Option<Site>
dev: Option<Dev>
kv_namespaces: Option<Vec<ConfigKvNamespace>>
env: Option<HashMap<String, Environment>>
vars: Option<HashMap<String, String>>
text_blobs: Option<HashMap<String, PathBuf>>
triggers: Option<Triggers>
Implementations
impl Manifest
[src]
pub fn new(config_path: &Path) -> Result<Self, Error>
[src]
pub fn generate(
name: String,
target_type: Option<TargetType>,
config_path: &PathBuf,
site: Option<Site>
) -> Result<Manifest, Error>
[src]
name: String,
target_type: Option<TargetType>,
config_path: &PathBuf,
site: Option<Site>
) -> Result<Manifest, Error>
pub fn worker_name(&self, env_arg: Option<&str>) -> String
[src]
pub fn get_deployments(&self, env: Option<&str>) -> Result<DeploymentSet, Error>
[src]
pub fn get_account_id(
&self,
environment_name: Option<&str>
) -> Result<String, Error>
[src]
&self,
environment_name: Option<&str>
) -> Result<String, Error>
pub fn get_target(
&self,
environment_name: Option<&str>,
preview: bool
) -> Result<Target, Error>
[src]
&self,
environment_name: Option<&str>,
preview: bool
) -> Result<Target, Error>
pub fn get_environment(
&self,
environment_name: Option<&str>
) -> Result<Option<&Environment>, Error>
[src]
&self,
environment_name: Option<&str>
) -> Result<Option<&Environment>, Error>
Trait Implementations
impl Clone for Manifest
[src]
impl Debug for Manifest
[src]
impl Default for Manifest
[src]
impl<'de> Deserialize<'de> for Manifest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl FromStr for Manifest
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(serialized_toml: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<Manifest> for Manifest
[src]
impl Serialize for Manifest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Manifest
[src]
Auto Trait Implementations
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnwindSafe for Manifest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,