pub enum Reading {
Manifest(DefinitionRead<PackageMetadata>),
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(DefinitionRead<PackageMetadata>)
Agent(DefinitionRead<AgentProfile>)
Skill(DefinitionRead<SkillProfile>)
Implementations§
Source§impl Reading
impl Reading
pub fn diagnostics(&self) -> &[SchemaDiagnostic]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnsafeUnpin for Reading
impl UnwindSafe for Reading
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