pub struct FleetTaskWorkerProfile {
pub role: Option<String>,
pub tool_profile: Option<String>,
pub tools: Vec<String>,
pub capabilities: Vec<String>,
}Expand description
Worker role and tool expectations for a task.
Fields§
§role: Option<String>§tool_profile: Option<String>§tools: Vec<String>§capabilities: Vec<String>Trait Implementations§
Source§impl Clone for FleetTaskWorkerProfile
impl Clone for FleetTaskWorkerProfile
Source§fn clone(&self) -> FleetTaskWorkerProfile
fn clone(&self) -> FleetTaskWorkerProfile
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 FleetTaskWorkerProfile
impl Debug for FleetTaskWorkerProfile
Source§impl Default for FleetTaskWorkerProfile
impl Default for FleetTaskWorkerProfile
Source§fn default() -> FleetTaskWorkerProfile
fn default() -> FleetTaskWorkerProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetTaskWorkerProfile
impl<'de> Deserialize<'de> for FleetTaskWorkerProfile
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
impl Eq for FleetTaskWorkerProfile
Source§impl PartialEq for FleetTaskWorkerProfile
impl PartialEq for FleetTaskWorkerProfile
Source§fn eq(&self, other: &FleetTaskWorkerProfile) -> bool
fn eq(&self, other: &FleetTaskWorkerProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FleetTaskWorkerProfile
impl Serialize for FleetTaskWorkerProfile
impl StructuralPartialEq for FleetTaskWorkerProfile
Auto Trait Implementations§
impl Freeze for FleetTaskWorkerProfile
impl RefUnwindSafe for FleetTaskWorkerProfile
impl Send for FleetTaskWorkerProfile
impl Sync for FleetTaskWorkerProfile
impl Unpin for FleetTaskWorkerProfile
impl UnsafeUnpin for FleetTaskWorkerProfile
impl UnwindSafe for FleetTaskWorkerProfile
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