Struct ExportPlan
pub struct ExportPlan {
pub root_alias: String,
pub config: Table,
pub required_secrets: Vec<String>,
pub dropped: Vec<DroppedRef>,
pub risk_flags: Vec<RiskFlag>,
pub workspace_source: PathBuf,
pub skill_sources: Vec<SkillBundleSource>,
pub source_boundaries: SourceBoundaries,
pub identity_document: Option<String>,
}Expand description
A computed export, ready to be written to disk.
Fields§
§root_alias: StringAlias of the agent this bundle describes.
config: TableThe config closure, as a TOML table rooted at the config root.
required_secrets: Vec<String>Dotted paths whose values were scrubbed and must be supplied on import.
dropped: Vec<DroppedRef>Configuration deliberately left out, with reasons.
risk_flags: Vec<RiskFlag>Capabilities the receiving operator is being asked to grant.
workspace_source: PathBufSource workspace directory to copy into the bundle.
skill_sources: Vec<SkillBundleSource>Skill-bundle directories to copy into the bundle’s skills/ tree.
source_boundaries: SourceBoundariesBoundary each copy source must resolve inside once symlinks anywhere in
its path are followed. None means the operator pointed the source
somewhere deliberately (a configured workspace.path), so the
configured location is the boundary and there is nothing to compare
against.
identity_document: Option<String>Workspace-relative path of the AIEOS identity document the closure still references, if it kept one. The caller checks that the workspace copy actually carried it: a reference the bundle cannot satisfy is dropped rather than shipped.
Trait Implementations§
Source§impl Clone for ExportPlan
impl Clone for ExportPlan
Source§fn clone(&self) -> ExportPlan
fn clone(&self) -> ExportPlan
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ExportPlan
impl RefUnwindSafe for ExportPlan
impl Send for ExportPlan
impl Sync for ExportPlan
impl Unpin for ExportPlan
impl UnsafeUnpin for ExportPlan
impl UnwindSafe for ExportPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more