pub struct LocalNamePF { /* private fields */ }Expand description
apf:localname - Extract the local name from an IRI.
Implementations§
Source§impl LocalNamePF
impl LocalNamePF
Trait Implementations§
Source§impl Debug for LocalNamePF
impl Debug for LocalNamePF
Source§impl Default for LocalNamePF
impl Default for LocalNamePF
Source§impl PropertyFunction for LocalNamePF
impl PropertyFunction for LocalNamePF
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 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.
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).
Auto Trait Implementations§
impl Freeze for LocalNamePF
impl RefUnwindSafe for LocalNamePF
impl Send for LocalNamePF
impl Sync for LocalNamePF
impl Unpin for LocalNamePF
impl UnsafeUnpin for LocalNamePF
impl UnwindSafe for LocalNamePF
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