pub struct PropertyRequest { /* private fields */ }Expand description
Request for one direct property on one source-qualified object.
This contract covers occurrence/type inheritance owned by the source adapter, but never traverses semantic relationships to other objects. Related-object selection requires a separately complete relationship service.
Implementations§
Source§impl PropertyRequest
impl PropertyRequest
Sourcepub fn try_new(
object_id: ObjectId,
property_set: Option<String>,
property: impl Into<String>,
) -> Result<Self, PropertyResolutionError>
pub fn try_new( object_id: ObjectId, property_set: Option<String>, property: impl Into<String>, ) -> Result<Self, PropertyResolutionError>
Creates a request. An omitted set requests an unambiguous property by name.
Sourcepub fn property_set(&self) -> Option<&str>
pub fn property_set(&self) -> Option<&str>
Optional requested property set.
Trait Implementations§
Source§impl Clone for PropertyRequest
impl Clone for PropertyRequest
Source§fn clone(&self) -> PropertyRequest
fn clone(&self) -> PropertyRequest
Returns a copy 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 PropertyRequest
impl Debug for PropertyRequest
Source§impl Ord for PropertyRequest
impl Ord for PropertyRequest
Source§fn cmp(&self, other: &PropertyRequest) -> Ordering
fn cmp(&self, other: &PropertyRequest) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PropertyRequest
impl PartialEq for PropertyRequest
Source§impl PartialOrd for PropertyRequest
impl PartialOrd for PropertyRequest
impl Eq for PropertyRequest
impl StructuralPartialEq for PropertyRequest
Auto Trait Implementations§
impl Freeze for PropertyRequest
impl RefUnwindSafe for PropertyRequest
impl Send for PropertyRequest
impl Sync for PropertyRequest
impl Unpin for PropertyRequest
impl UnwindSafe for PropertyRequest
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