pub struct ClassSummary {
pub iri: String,
pub label: Option<String>,
pub comment: Option<String>,
pub super_classes: Vec<String>,
pub instance_count: Option<u64>,
}Expand description
One class in the summary.
Fields§
§iri: StringClass IRI.
label: Option<String>First rdfs:label literal, if any.
comment: Option<String>First rdfs:comment literal, if any.
super_classes: Vec<String>Direct + transitive rdfs:subClassOf closure (may name IRIs that
have no instances and thus never appear in the classes list).
Blank-node targets are NOT followed: SPARQL query text cannot name
a stored blank node (_:x in a query is query-scoped), so
A subClassOf _:r contributes no ancestor and OWL restriction
axioms are invisible to the closure.
instance_count: Option<u64>Distinct subject count; None when counts were not computed.
Trait Implementations§
Source§impl Clone for ClassSummary
impl Clone for ClassSummary
Source§fn clone(&self) -> ClassSummary
fn clone(&self) -> ClassSummary
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 ClassSummary
impl Debug for ClassSummary
Source§impl PartialEq for ClassSummary
impl PartialEq for ClassSummary
impl Eq for ClassSummary
impl StructuralPartialEq for ClassSummary
Auto Trait Implementations§
impl Freeze for ClassSummary
impl RefUnwindSafe for ClassSummary
impl Send for ClassSummary
impl Sync for ClassSummary
impl Unpin for ClassSummary
impl UnsafeUnpin for ClassSummary
impl UnwindSafe for ClassSummary
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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].