pub struct PredicateDeclaration { /* private fields */ }Expand description
One verified predicate supplied by an external declaration closure.
Implementations§
Source§impl PredicateDeclaration
impl PredicateDeclaration
pub fn value( uri: NodeUri, object: ObjectDeclaration, subjects: impl IntoIterator<Item = SubjectRole>, interpretation: Interpretation, ) -> Self
Sourcepub fn sidecar_type(
uri: NodeUri,
object: ObjectDeclaration,
subjects: impl IntoIterator<Item = SubjectRole>,
) -> Self
pub fn sidecar_type( uri: NodeUri, object: ObjectDeclaration, subjects: impl IntoIterator<Item = SubjectRole>, ) -> Self
One legacy decorator type specification admitted only through its sidecar.
Sourcepub fn json_datatype(&self) -> Option<&NodeUri>
pub fn json_datatype(&self) -> Option<&NodeUri>
The declared datatype needed by @json context expansion.
Trait Implementations§
Source§impl Clone for PredicateDeclaration
impl Clone for PredicateDeclaration
Auto Trait Implementations§
impl Freeze for PredicateDeclaration
impl RefUnwindSafe for PredicateDeclaration
impl Send for PredicateDeclaration
impl Sync for PredicateDeclaration
impl Unpin for PredicateDeclaration
impl UnsafeUnpin for PredicateDeclaration
impl UnwindSafe for PredicateDeclaration
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