pub struct InitResult {
pub paths: ConfigPaths,
pub playground_id: String,
pub root_config_created: bool,
pub playground_config_created: bool,
pub initialized_agent_templates: Vec<String>,
}Expand description
Result metadata returned by init_playground.
Fields§
§paths: ConfigPathsThe config paths used for initialization.
playground_id: StringThe initialized playground id.
root_config_created: boolWhether config.toml was created as part of this call.
playground_config_created: boolWhether the playground config file (apg.toml) was created.
initialized_agent_templates: Vec<String>Agent template ids that were copied into the playground directory.
Trait Implementations§
Source§impl Clone for InitResult
impl Clone for InitResult
Source§fn clone(&self) -> InitResult
fn clone(&self) -> InitResult
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 Debug for InitResult
impl Debug for InitResult
Source§impl PartialEq for InitResult
impl PartialEq for InitResult
impl Eq for InitResult
impl StructuralPartialEq for InitResult
Auto Trait Implementations§
impl Freeze for InitResult
impl RefUnwindSafe for InitResult
impl Send for InitResult
impl Sync for InitResult
impl Unpin for InitResult
impl UnsafeUnpin for InitResult
impl UnwindSafe for InitResult
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