pub struct PropertyEnumerationRequest { /* private fields */ }Expand description
Request for every property of one object whose set and name match.
Enumeration covers the source’s own property sets, as
PropertyRequest does with occurrence/type inheritance, and never the
reserved sets (axioval_ir::is_reserved_set), which name engine
vocabulary and are resolved by name only: an exact reserved set is an
invalid request, and a pattern never selects one.
Implementations§
Source§impl PropertyEnumerationRequest
impl PropertyEnumerationRequest
Sourcepub fn try_new(
object_id: ObjectId,
property_set: NameMatch,
property: NameMatch,
) -> Result<Self, PropertyResolutionError>
pub fn try_new( object_id: ObjectId, property_set: NameMatch, property: NameMatch, ) -> Result<Self, PropertyResolutionError>
Creates a request.
§Errors
PropertyResolutionError::InvalidRequest for a blank exact name or
an exact reserved set.
Sourcepub fn property_set(&self) -> &NameMatch
pub fn property_set(&self) -> &NameMatch
Which property sets are searched.
Trait Implementations§
Source§impl Clone for PropertyEnumerationRequest
impl Clone for PropertyEnumerationRequest
Source§impl Debug for PropertyEnumerationRequest
impl Debug for PropertyEnumerationRequest
impl Eq for PropertyEnumerationRequest
Source§impl Ord for PropertyEnumerationRequest
impl Ord for PropertyEnumerationRequest
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PropertyEnumerationRequest
impl PartialOrd for PropertyEnumerationRequest
impl StructuralPartialEq for PropertyEnumerationRequest
Auto Trait Implementations§
impl Freeze for PropertyEnumerationRequest
impl RefUnwindSafe for PropertyEnumerationRequest
impl Send for PropertyEnumerationRequest
impl Sync for PropertyEnumerationRequest
impl Unpin for PropertyEnumerationRequest
impl UnsafeUnpin for PropertyEnumerationRequest
impl UnwindSafe for PropertyEnumerationRequest
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