pub struct WorkerProfileConfig {
pub command: Option<String>,
pub args: Option<Vec<String>>,
pub model: Option<String>,
pub env: HashMap<String, String>,
pub container: Option<String>,
pub instructions: Option<String>,
pub role_prefix: Option<String>,
}Fields§
§command: Option<String>§args: Option<Vec<String>>§model: Option<String>§env: HashMap<String, String>§container: Option<String>§instructions: Option<String>§role_prefix: Option<String>Trait Implementations§
Source§impl Clone for WorkerProfileConfig
impl Clone for WorkerProfileConfig
Source§fn clone(&self) -> WorkerProfileConfig
fn clone(&self) -> WorkerProfileConfig
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 WorkerProfileConfig
impl Debug for WorkerProfileConfig
Source§impl Default for WorkerProfileConfig
impl Default for WorkerProfileConfig
Source§fn default() -> WorkerProfileConfig
fn default() -> WorkerProfileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkerProfileConfig
impl<'de> Deserialize<'de> for WorkerProfileConfig
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 WorkerProfileConfig
impl RefUnwindSafe for WorkerProfileConfig
impl Send for WorkerProfileConfig
impl Sync for WorkerProfileConfig
impl Unpin for WorkerProfileConfig
impl UnsafeUnpin for WorkerProfileConfig
impl UnwindSafe for WorkerProfileConfig
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