pub struct OpenclawRootIo {
pub state_dir: PathBuf,
pub config_raw: String,
pub config_present: bool,
pub config_snapshot: String,
pub cron_jobs: BTreeMap<String, Map<String, Value>>,
pub cron_run_logs: BTreeMap<String, Map<String, Value>>,
pub delivery_queue_entries: BTreeMap<String, Map<String, Value>>,
pub schema_meta: Vec<Map<String, Value>>,
pub store_key: String,
pub db_present: bool,
pub default_agent: String,
}Expand description
Root bookkeeping for an OpenClaw state dir.
Fields§
§state_dir: PathBufThe state dir.
config_raw: Stringopenclaw.json’s bytes as read (empty when absent).
config_present: boolWhether openclaw.json existed.
config_snapshot: StringCanonical JSON of the config record as loaded.
cron_jobs: BTreeMap<String, Map<String, Value>>Store rows as read, by table and id.
cron_run_logs: BTreeMap<String, Map<String, Value>>Run-log rows by fire id.
delivery_queue_entries: BTreeMap<String, Map<String, Value>>Queue rows by id.
schema_meta: Vec<Map<String, Value>>schema_meta rows.
store_key: StringThe store_key the jobs carry.
db_present: boolWhether the store existed.
default_agent: StringThe default agent id.
Trait Implementations§
Source§impl Clone for OpenclawRootIo
impl Clone for OpenclawRootIo
Source§fn clone(&self) -> OpenclawRootIo
fn clone(&self) -> OpenclawRootIo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpenclawRootIo
impl Debug for OpenclawRootIo
Source§impl Default for OpenclawRootIo
impl Default for OpenclawRootIo
Source§fn default() -> OpenclawRootIo
fn default() -> OpenclawRootIo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenclawRootIo
impl RefUnwindSafe for OpenclawRootIo
impl Send for OpenclawRootIo
impl Sync for OpenclawRootIo
impl Unpin for OpenclawRootIo
impl UnsafeUnpin for OpenclawRootIo
impl UnwindSafe for OpenclawRootIo
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