pub enum Reading {
Manifest(Box<ManifestRead>),
Agent(DefinitionRead<AgentProfile>),
Skill(DefinitionRead<SkillProfile>),
}Expand description
The serialized v1 reading of one schema-owned file.
Serializes as the bare DefinitionRead; the caller knows the kind from the path (or, in
a prepared package, from the definition’s kind).
Variants§
Manifest(Box<ManifestRead>)
Agent(DefinitionRead<AgentProfile>)
Skill(DefinitionRead<SkillProfile>)
Implementations§
Source§impl Reading
impl Reading
pub fn diagnostics(&self) -> &[SchemaDiagnostic]
Trait Implementations§
Auto Trait Implementations§
impl Forget for Reading
impl Freeze for Readingwhere
*const ManifestRead is !null: Freeze,
PhantomData<ManifestRead>: Freeze,
*const u8 is !null: Freeze,
PhantomData<(String, OrderedValue)>: Freeze,
PhantomData<u8>: 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 Reading
impl RefUnwindSafe for Reading
impl Send for Readingwhere
BoxRaw<ManifestRead>: Send,
RawVecInner: Send,
RawTable<usize>: Send,
&'static str: Send,
BoxRaw<TaggedValue>: Send,
impl Sync for Readingwhere
BoxRaw<ManifestRead>: Sync,
RawVecInner: Sync,
RawTable<usize>: Sync,
BoxRaw<TaggedValue>: Sync,
impl Unpin for Reading
impl UnsafeUnpin for Readingwhere
*const ManifestRead is !null: UnsafeUnpin,
PhantomData<ManifestRead>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, OrderedValue)>: UnsafeUnpin,
PhantomData<u8>: 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 Readingwhere
BoxRaw<ManifestRead>: UnwindSafe,
RawVecInner: 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