pub struct World {
pub repo: RepoView,
pub runner: Arc<dyn ProcessRunner>,
pub clock: Arc<dyn Clock>,
pub kv: Arc<dyn KvStore>,
pub profile: UserProfile,
}Expand description
Things the agent and its sensors can do that aren’t covered by a Tool.
This is intentionally tiny — most work flows through Tools.
Fields§
§repo: RepoView§runner: Arc<dyn ProcessRunner>§clock: Arc<dyn Clock>§kv: Arc<dyn KvStore>§profile: UserProfileAmbient information about who’s using the agent (name, timezone, locale,
preferences). Loaded once at world construction. See crate::UserProfile.
Auto Trait Implementations§
impl !RefUnwindSafe for World
impl !UnwindSafe for World
impl Freeze for World
impl Send for World
impl Sync for World
impl Unpin for World
impl UnsafeUnpin for World
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