pub struct DatasetGraphView<'a, D: Dataset> {
pub dataset: &'a D,
pub graph: Option<&'a D::Subject>,
pub resource: &'a D::Subject,
}Expand description
Dataset view focusing on a given resource and restricted to the given graph.
Fields§
§dataset: &'a DThe dataset being viewed.
graph: Option<&'a D::Subject>Name of the graph in focus, None for the default graph.
resource: &'a D::SubjectThe resource in focus.
Auto Trait Implementations§
impl<'a, D> Freeze for DatasetGraphView<'a, D>
impl<'a, D> RefUnwindSafe for DatasetGraphView<'a, D>
impl<'a, D> Send for DatasetGraphView<'a, D>
impl<'a, D> Sync for DatasetGraphView<'a, D>
impl<'a, D> Unpin for DatasetGraphView<'a, D>
impl<'a, D> UnsafeUnpin for DatasetGraphView<'a, D>
impl<'a, D> UnwindSafe for DatasetGraphView<'a, D>
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