pub struct NamespacePF { /* private fields */ }Expand description
apf:namespace - Extract the namespace from an IRI.
Implementations§
Source§impl NamespacePF
impl NamespacePF
Trait Implementations§
Source§impl Debug for NamespacePF
impl Debug for NamespacePF
Source§impl Default for NamespacePF
impl Default for NamespacePF
Source§impl PropertyFunction for NamespacePF
impl PropertyFunction for NamespacePF
Source§fn metadata(&self) -> PropertyFunctionMetadata
fn metadata(&self) -> PropertyFunctionMetadata
Return metadata describing this property function.
Source§fn evaluate(
&self,
subject: &PropertyFunctionArg,
_object: &PropertyFunctionArg,
) -> Result<PropertyFunctionResult, OxirsError>
fn evaluate( &self, subject: &PropertyFunctionArg, _object: &PropertyFunctionArg, ) -> Result<PropertyFunctionResult, OxirsError>
Evaluate the property function given the subject and object arguments. Read more
Source§fn validate(
&self,
subject: &PropertyFunctionArg,
object: &PropertyFunctionArg,
) -> Result<(), OxirsError>
fn validate( &self, subject: &PropertyFunctionArg, object: &PropertyFunctionArg, ) -> Result<(), OxirsError>
Validate arguments before evaluation (optional override).
Source§fn estimated_cardinality(
&self,
_subject: &PropertyFunctionArg,
_object: &PropertyFunctionArg,
) -> Option<u64>
fn estimated_cardinality( &self, _subject: &PropertyFunctionArg, _object: &PropertyFunctionArg, ) -> Option<u64>
Estimated cardinality of results (for query planning).
Returns None if unknown. Default is None.
Auto Trait Implementations§
impl Freeze for NamespacePF
impl RefUnwindSafe for NamespacePF
impl Send for NamespacePF
impl Sync for NamespacePF
impl Unpin for NamespacePF
impl UnsafeUnpin for NamespacePF
impl UnwindSafe for NamespacePF
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more