pub struct RdfParseOptions {
pub base_iri: Option<String>,
pub graph: Option<String>,
}Expand description
Parser options shared by CLI import and HTTP ingest.
Fields§
§base_iri: Option<String>Override the file-URL base IRI used to resolve relative terms.
graph: Option<String>Replace RDF DefaultGraph in parsed quads with this named-graph IRI.
Turtle / N-Triples / N3 / RDF/XML triples all go here. In TriG / N-Quads, only default-graph triples are remapped; explicit named graphs stay.
Trait Implementations§
Source§impl Clone for RdfParseOptions
impl Clone for RdfParseOptions
Source§fn clone(&self) -> RdfParseOptions
fn clone(&self) -> RdfParseOptions
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 RdfParseOptions
impl Debug for RdfParseOptions
Source§impl Default for RdfParseOptions
impl Default for RdfParseOptions
Source§fn default() -> RdfParseOptions
fn default() -> RdfParseOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RdfParseOptions
impl RefUnwindSafe for RdfParseOptions
impl Send for RdfParseOptions
impl Sync for RdfParseOptions
impl Unpin for RdfParseOptions
impl UnsafeUnpin for RdfParseOptions
impl UnwindSafe for RdfParseOptions
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,
§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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].