pub struct AgentListBuilder {
pub agents: Vec<Agent>,
}Expand description
Builder used to create an AgentList
Fields§
§agents: Vec<Agent>Implementations§
Source§impl AgentListBuilder
impl AgentListBuilder
pub fn new() -> Self
pub fn with_agents(self, agents: Vec<Agent>) -> AgentListBuilder
pub fn build(self) -> Result<AgentList, AgentListBuildError>
Trait Implementations§
Source§impl Clone for AgentListBuilder
impl Clone for AgentListBuilder
Source§fn clone(&self) -> AgentListBuilder
fn clone(&self) -> AgentListBuilder
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 Default for AgentListBuilder
impl Default for AgentListBuilder
Source§fn default() -> AgentListBuilder
fn default() -> AgentListBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentListBuilder
impl RefUnwindSafe for AgentListBuilder
impl Send for AgentListBuilder
impl Sync for AgentListBuilder
impl Unpin for AgentListBuilder
impl UnwindSafe for AgentListBuilder
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