pub struct HookRead {
pub def: Option<HookDef>,
pub diagnostics: Vec<SchemaDiagnostic>,
pub unknown_visibility: Option<String>,
}Expand description
What reading a hook.toml found. def is None when a diagnostic is an error.
Fields§
§def: Option<HookDef>§diagnostics: Vec<SchemaDiagnostic>Path-free: the caller adds the location.
unknown_visibility: Option<String>A visibility that is neither local nor exported, read as local. The caller
says so.
Trait Implementations§
Auto Trait Implementations§
impl Forget for HookRead
impl Freeze for HookRead
impl RefUnwindSafe for HookRead
impl Send for HookRead
impl Sync for HookRead
impl Unpin for HookRead
impl UnsafeUnpin for HookRead
impl UnwindSafe for HookRead
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