pub struct ContainerAsk {
pub runtime: Option<String>,
pub container_image: Option<String>,
pub memory_mb: Option<Value>,
pub cpus: Option<Value>,
}Expand description
Where a new agent runs, for Agents spawn and Agents create: absent, a worker runs as its leader does
and a created agent as its template says.
Fields§
§runtime: Option<String>native (on the host) or container.
container_image: Option<String>The image of a container agent: ghcr.io/agentmuxai/agent-base:developer or ghcr.io/agentmuxai/agent-base:latest.
memory_mb: Option<Value>A container agent’s memory limit in MB ("auto", or 0 for no limit).
cpus: Option<Value>A container agent’s CPU limit (fractions allowed; "auto", or 0 for no limit).
Implementations§
Trait Implementations§
Source§impl Clone for ContainerAsk
impl Clone for ContainerAsk
Source§fn clone(&self) -> ContainerAsk
fn clone(&self) -> ContainerAsk
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 ContainerAsk
impl Debug for ContainerAsk
Source§impl Default for ContainerAsk
impl Default for ContainerAsk
Source§fn default() -> ContainerAsk
fn default() -> ContainerAsk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerAsk
impl<'de> Deserialize<'de> for ContainerAsk
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 ContainerAsk
impl RefUnwindSafe for ContainerAsk
impl Send for ContainerAsk
impl Sync for ContainerAsk
impl Unpin for ContainerAsk
impl UnsafeUnpin for ContainerAsk
impl UnwindSafe for ContainerAsk
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