pub struct CommandAgentDefCreateFromTemplateData {
pub template_id: String,
pub name: String,
pub identity_id: String,
pub memory_id: String,
}Expand description
Request for agentdefcreatefromtemplate. Clones a seeded template
into a new user-owned definition. Phase 1 of the two-tier picker.
Fields§
§template_id: Stringid of a seeded definition (must have is_seeded = 1).
name: StringUser-chosen display name for the new agent. Non-empty, ≤200 chars, must not collide with another user-owned agent’s name.
identity_id: StringIdentity bundle id to bind (empty string = ambient creds).
Stored on the launch-time db_agent_instances row by the
launch flow; the definition itself doesn’t hold bindings
pre-Phase 3, so this is reserved for the frontend to thread
through to its subsequent launchAgentDefinition call. The
server returns it back in the response for symmetry +
future-proofing.
memory_id: StringMemory bundle id to bind (empty string = vanilla CLI).
Same semantics as identity_id above.
Trait Implementations§
Source§impl Clone for CommandAgentDefCreateFromTemplateData
impl Clone for CommandAgentDefCreateFromTemplateData
Source§fn clone(&self) -> CommandAgentDefCreateFromTemplateData
fn clone(&self) -> CommandAgentDefCreateFromTemplateData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for CommandAgentDefCreateFromTemplateData
impl<'de> Deserialize<'de> for CommandAgentDefCreateFromTemplateData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for CommandAgentDefCreateFromTemplateData
impl RefUnwindSafe for CommandAgentDefCreateFromTemplateData
impl Send for CommandAgentDefCreateFromTemplateData
impl Sync for CommandAgentDefCreateFromTemplateData
impl Unpin for CommandAgentDefCreateFromTemplateData
impl UnwindSafe for CommandAgentDefCreateFromTemplateData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.