pub enum GraphConfigs {
LocalFile(LocalFileSourceGraphConfig),
GraphStoreHttp(GraphStoreHttpSourceGraphConfig),
Dummy,
Glob(GlobSourceGraphConfig),
}Variants§
LocalFile(LocalFileSourceGraphConfig)
GraphStoreHttp(GraphStoreHttpSourceGraphConfig)
Dummy
Glob(GlobSourceGraphConfig)
Implementations§
Source§impl GraphConfigs
impl GraphConfigs
pub fn from_iri(iri: Iri) -> Result<Self, FromIriError>
Trait Implementations§
Source§impl Clone for GraphConfigs
impl Clone for GraphConfigs
Source§fn clone(&self) -> GraphConfigs
fn clone(&self) -> GraphConfigs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphConfigs
impl Debug for GraphConfigs
Source§impl GraphConfig for GraphConfigs
impl GraphConfig for GraphConfigs
type Graph = ConfigurableGraphs
fn into_graph(self) -> Result<Self::Graph, SourceError>where
Self: Sized,
Source§impl GraphORM for GraphConfigs
impl GraphORM for GraphConfigs
Source§async fn serialize_schema(
__taganak_orm_reserved_graph: &mut impl Graph,
) -> Result<(), GraphORMError>
async fn serialize_schema( __taganak_orm_reserved_graph: &mut impl Graph, ) -> Result<(), GraphORMError>
Generate the schema for the target. Read more
Source§fn serialize_stream(
&self,
__taganak_orm_reserved_subject: Arc<Term>,
) -> Result<impl Stream<Item = Arc<Triple>> + Unpin + Send, GraphORMError>
fn serialize_stream( &self, __taganak_orm_reserved_subject: Arc<Term>, ) -> Result<impl Stream<Item = Arc<Triple>> + Unpin + Send, GraphORMError>
Serialise into a stream of triples.
Source§async fn deserialize(
__taganak_orm_reserved_graph: impl GraphView,
__taganak_orm_reserved_subject: &Term,
) -> Result<GraphORMMeta<Self>, GraphORMError>
async fn deserialize( __taganak_orm_reserved_graph: impl GraphView, __taganak_orm_reserved_subject: &Term, ) -> Result<GraphORMMeta<Self>, GraphORMError>
Deserialize from a Graph by providing a known subject.
Source§fn rdf_subject(&self) -> Result<Arc<Term>, GraphORMError>
fn rdf_subject(&self) -> Result<Arc<Term>, GraphORMError>
Generate a subject. Read more
Source§impl GraphORMField for GraphConfigs
impl GraphORMField for GraphConfigs
Source§impl Hash for GraphConfigs
impl Hash for GraphConfigs
Source§impl PartialEq for GraphConfigs
impl PartialEq for GraphConfigs
impl Eq for GraphConfigs
impl StructuralPartialEq for GraphConfigs
Auto Trait Implementations§
impl Freeze for GraphConfigs
impl RefUnwindSafe for GraphConfigs
impl Send for GraphConfigs
impl Sync for GraphConfigs
impl Unpin for GraphConfigs
impl UnwindSafe for GraphConfigs
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.