pub struct WorkersConfig {
pub container: Option<String>,
pub keychain: HashMap<String, String>,
pub command: String,
pub args: Vec<String>,
pub model: Option<String>,
pub env: HashMap<String, String>,
}Fields§
§container: Option<String>§keychain: HashMap<String, String>§command: String§args: Vec<String>§model: Option<String>§env: HashMap<String, String>Implementations§
Source§impl WorkersConfig
impl WorkersConfig
pub fn merge_local(&mut self, local: &LocalWorkersOverride)
Trait Implementations§
Source§impl Clone for WorkersConfig
impl Clone for WorkersConfig
Source§fn clone(&self) -> WorkersConfig
fn clone(&self) -> WorkersConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkersConfig
impl Debug for WorkersConfig
Source§impl Default for WorkersConfig
impl Default for WorkersConfig
Source§impl<'de> Deserialize<'de> for WorkersConfig
impl<'de> Deserialize<'de> for WorkersConfig
Source§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 Freeze for WorkersConfig
impl RefUnwindSafe for WorkersConfig
impl Send for WorkersConfig
impl Sync for WorkersConfig
impl Unpin for WorkersConfig
impl UnsafeUnpin for WorkersConfig
impl UnwindSafe for WorkersConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more