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(&self) -> Result<Uri<String>, Error>
pub fn as_display_iri(&self) -> GraphDisplayIRI<'_>
pub fn as_c_string(&self) -> Result<CString, Error>
pub fn as_lexical_value(&self) -> Result<Literal, Error>
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