pub struct AssignStrategy {
pub strategy: String,
pub capabilities: Option<Vec<String>>,
pub seniority: Option<String>,
pub role: Option<String>,
pub agent_id: Option<String>,
}Expand description
Strategy for auto-assigning agents based on capability, seniority, or explicit ID
Fields§
§strategy: String§capabilities: Option<Vec<String>>§seniority: Option<String>§role: Option<String>§agent_id: Option<String>Trait Implementations§
Source§impl Clone for AssignStrategy
impl Clone for AssignStrategy
Source§fn clone(&self) -> AssignStrategy
fn clone(&self) -> AssignStrategy
Returns a duplicate of the value. Read more
1.0.0 · 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 AssignStrategy
impl Debug for AssignStrategy
Source§impl<'de> Deserialize<'de> for AssignStrategy
impl<'de> Deserialize<'de> for AssignStrategy
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 AssignStrategy
impl RefUnwindSafe for AssignStrategy
impl Send for AssignStrategy
impl Sync for AssignStrategy
impl Unpin for AssignStrategy
impl UnsafeUnpin for AssignStrategy
impl UnwindSafe for AssignStrategy
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