pub struct NodeConfig {
pub key: SigningKey,
pub box_key: BoxKey,
pub state_dir: PathBuf,
pub sockets: PathBuf,
pub teams: Vec<TeamConfig>,
pub external: Option<(String, ExternalConfig)>,
}Expand description
Everything a Node needs besides its ports.
Fields§
§key: SigningKeyThis bot’s key.
box_key: BoxKeyThis bot’s X25519 key, for sealed messages through relays.
state_dir: PathBufThis bot’s state/ directory.
sockets: PathBufWhere the sockets of this machine’s bots are (socket_dir).
teams: Vec<TeamConfig>Teams.
external: Option<(String, ExternalConfig)>A2A agents and clients that are not okbots, and this bot’s name among them.
Trait Implementations§
Source§impl Clone for NodeConfig
impl Clone for NodeConfig
Auto Trait Implementations§
impl Freeze for NodeConfig
impl RefUnwindSafe for NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Unpin for NodeConfig
impl UnsafeUnpin for NodeConfig
impl UnwindSafe for NodeConfig
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