Struct rdf_store_rs::Graph
source · 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 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.