pub struct AgentData {
pub agent_uri: String,
pub async_runtime: Runtime,
pub knowledge_base: Box<dyn KnowledgeBase>,
pub states: SharedStates,
pub capabilities: Capabilities,
pub projection: Projection,
}
Expand description
Data of an agent
Fields§
§agent_uri: String
Uri of the agent
async_runtime: Runtime
Runtime for async (selected as a feature)
knowledge_base: Box<dyn KnowledgeBase>
Interface to the knowledge base of the agent
states: SharedStates
Internal copy of the states of the agent
capabilities: Capabilities
Capabilities of the agent
projection: Projection
Geographic projection
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentData
impl !RefUnwindSafe for AgentData
impl Send for AgentData
impl Sync for AgentData
impl Unpin for AgentData
impl !UnwindSafe for AgentData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more