Compare commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
95216f2e62
|
||
|
|
63bc705669
|
@@ -3,6 +3,7 @@ name = "ldp"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "A library to assist with the creation and maintenance of remote RDF data via LDP"
|
description = "A library to assist with the creation and maintenance of remote RDF data via LDP"
|
||||||
|
documentation = "https://docs.rs/ldp"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
keywords = ["ldp", "rdf", "sparql"]
|
keywords = ["ldp", "rdf", "sparql"]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ use crate::vocab;
|
|||||||
use oxigraph::model::NamedNodeRef;
|
use oxigraph::model::NamedNodeRef;
|
||||||
|
|
||||||
/// The type of [Container](https://www.w3.org/TR/ldp/#ldpc).
|
/// The type of [Container](https://www.w3.org/TR/ldp/#ldpc).
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug, PartialEq)]
|
||||||
pub enum ContainerType {
|
pub enum ContainerType {
|
||||||
Basic,
|
Basic,
|
||||||
Direct,
|
Direct,
|
||||||
|
|||||||
+1
-1
@@ -353,7 +353,7 @@ impl ResourceRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// The type of [Resource](https://www.w3.org/TR/ldp/#ldpr-resource).
|
/// The type of [Resource](https://www.w3.org/TR/ldp/#ldpr-resource).
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug, PartialEq)]
|
||||||
pub enum ResourceType {
|
pub enum ResourceType {
|
||||||
NonRdfSource,
|
NonRdfSource,
|
||||||
RdfSource(Option<ContainerType>),
|
RdfSource(Option<ContainerType>),
|
||||||
|
|||||||
Reference in New Issue
Block a user