pub struct ConsumerRead {
pub config: Config,
pub issues: Vec<ConfigIssue>,
pub parse_error: Option<Error>,
}Expand description
A mars.toml read for its consumer configuration.
Fields§
§config: ConfigEvery table that is valid on its own. A table the file breaks is absent (models.a of
models, or the whole of settings); package and the dependency tables come from the
whole-file pass only when it succeeds.
issues: Vec<ConfigIssue>What was refused: a table that failed, [settings.tools] with a *, a
min_mars_version that is not a requirement.
parse_error: Option<Error>The error of the whole-file pass, when it failed. Its text points at the line, and the CLI, which refuses the project’s own file whole, reports it as it always has.
Auto Trait Implementations§
impl Forget for ConsumerRead
impl Freeze for ConsumerReadwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(OverlayToolName, ToolAction)>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<SourceName, RawEntry>>: Freeze,
PhantomData<NetworkHost>: Freeze,
PhantomData<ModelPolicyRule>: Freeze,
PhantomData<Bucket<String, ModelAlias>>: Freeze,
PhantomData<Bucket<String, AgentOverlay>>: Freeze,
PhantomData<Bucket<String, SkillOverlay>>: Freeze,
PhantomData<SchemaDiagnostic>: Freeze,
PhantomData<ConfigIssue>: Freeze,
impl Move for ConsumerRead
impl RefUnwindSafe for ConsumerRead
impl Send for ConsumerRead
impl Sync for ConsumerRead
impl Unpin for ConsumerRead
impl UnsafeUnpin for ConsumerReadwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(OverlayToolName, ToolAction)>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<SourceName, RawEntry>>: UnsafeUnpin,
PhantomData<NetworkHost>: UnsafeUnpin,
PhantomData<ModelPolicyRule>: UnsafeUnpin,
PhantomData<Bucket<String, ModelAlias>>: UnsafeUnpin,
PhantomData<Bucket<String, AgentOverlay>>: UnsafeUnpin,
PhantomData<Bucket<String, SkillOverlay>>: UnsafeUnpin,
PhantomData<SchemaDiagnostic>: UnsafeUnpin,
PhantomData<ConfigIssue>: UnsafeUnpin,
impl UnwindSafe for ConsumerReadwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
&'static str: UnwindSafe,
NonNull<u8>: 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