pub struct ValidationContext<'a> {
pub config: &'a SiteConfig,
pub store: &'a ContentStore,
pub conforms: bool,
pub violations: usize,
}Expand description
Context passed after SHACL validation completes.
Fields§
§config: &'a SiteConfig§store: &'a ContentStore§conforms: bool§violations: usizeAuto Trait Implementations§
impl<'a> Freeze for ValidationContext<'a>
impl<'a> !RefUnwindSafe for ValidationContext<'a>
impl<'a> Send for ValidationContext<'a>
impl<'a> Sync for ValidationContext<'a>
impl<'a> Unpin for ValidationContext<'a>
impl<'a> UnsafeUnpin for ValidationContext<'a>
impl<'a> !UnwindSafe for ValidationContext<'a>
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