pub struct PreparedDefinition {
pub kind: DefinitionKind,
pub slug: String,
pub source_path: String,
pub output_path: String,
pub skill_root: Option<String>,
pub normalized_bytes: Vec<u8>,
pub reading: Reading,
pub change: ChangeRecord,
}Fields§
§kind: DefinitionKind§slug: String§source_path: String§output_path: String§skill_root: Option<String>A skill’s folder in the package tree (empty for a root skill); None for an agent.
normalized_bytes: Vec<u8>The normalized file; crosses to JavaScript as a Uint8Array.
reading: ReadingThe Agent or skill reading kind names.
change: ChangeRecordTrait Implementations§
Source§impl Clone for PreparedDefinition
impl Clone for PreparedDefinition
Source§impl Debug for PreparedDefinition
impl Debug for PreparedDefinition
Auto Trait Implementations§
impl Forget for PreparedDefinition
impl Freeze for PreparedDefinitionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ManifestRead is !null: Freeze,
PhantomData<ManifestRead>: Freeze,
PhantomData<(String, OrderedValue)>: Freeze,
PhantomData<NetworkHost>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ToolRule>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, IndexMap<String, OrderedValue>>>: Freeze,
PhantomData<ModelPolicyRule>: Freeze,
PhantomData<SchemaDiagnostic>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<Bucket<Value, Value>>: Freeze,
*const TaggedValue is !null: Freeze,
PhantomData<TaggedValue>: Freeze,
impl Move for PreparedDefinition
impl RefUnwindSafe for PreparedDefinition
impl Send for PreparedDefinitionwhere
RawVecInner: Send,
BoxRaw<ManifestRead>: Send,
RawTable<usize>: Send,
&'static str: Send,
BoxRaw<TaggedValue>: Send,
impl Sync for PreparedDefinitionwhere
RawVecInner: Sync,
BoxRaw<ManifestRead>: Sync,
RawTable<usize>: Sync,
BoxRaw<TaggedValue>: Sync,
impl Unpin for PreparedDefinition
impl UnsafeUnpin for PreparedDefinitionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ManifestRead is !null: UnsafeUnpin,
PhantomData<ManifestRead>: UnsafeUnpin,
PhantomData<(String, OrderedValue)>: UnsafeUnpin,
PhantomData<NetworkHost>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ToolRule>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, IndexMap<String, OrderedValue>>>: UnsafeUnpin,
PhantomData<ModelPolicyRule>: UnsafeUnpin,
PhantomData<SchemaDiagnostic>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<Bucket<Value, Value>>: UnsafeUnpin,
*const TaggedValue is !null: UnsafeUnpin,
PhantomData<TaggedValue>: UnsafeUnpin,
impl UnwindSafe for PreparedDefinitionwhere
RawVecInner: UnwindSafe,
BoxRaw<ManifestRead>: UnwindSafe,
NonNull<u8>: UnwindSafe,
&'static str: UnwindSafe,
BoxRaw<TaggedValue>: UnwindSafe,
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