pub struct PackageDescriptor {
pub name: String,
pub dir: String,
pub acp_entrypoint: Option<String>,
}Expand description
A self-contained agentOS package to link into a running VM via
AgentOs::link_software. The descriptor is forwarded to the sidecar, which
owns the /opt/agentos projection (builds the staging tree, derives commands,
reads the version from the package’s package.json).
Fields§
§name: String§dir: String§acp_entrypoint: Option<String>bin/ command that speaks ACP over stdio, if this is an agent package.
Trait Implementations§
Source§impl Clone for PackageDescriptor
impl Clone for PackageDescriptor
Source§fn clone(&self) -> PackageDescriptor
fn clone(&self) -> PackageDescriptor
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 moreAuto Trait Implementations§
impl Freeze for PackageDescriptor
impl RefUnwindSafe for PackageDescriptor
impl Send for PackageDescriptor
impl Sync for PackageDescriptor
impl Unpin for PackageDescriptor
impl UnsafeUnpin for PackageDescriptor
impl UnwindSafe for PackageDescriptor
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