pub struct Graph {
pub namespace: Namespace,
pub local_name: String,
}
Expand description
Fields§
§namespace: Namespace
§local_name: String
Implementations§
Source§impl Graph
impl Graph
pub fn declare(namespace: Namespace, local_name: &str) -> Self
pub fn dataset_from_path(namespace: Namespace, path: &Path) -> Self
pub fn test_dataset_from_path(namespace: Namespace, path: &Path) -> Self
pub fn as_iri_buf(&self) -> Result<IriBuf, RDFStoreError>
pub fn as_display_iri(&self) -> GraphDisplayIRI<'_>
pub fn as_c_string(&self) -> Result<CString, RDFStoreError>
pub fn as_lexical_value(&self) -> Result<Literal, RDFStoreError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.