pub enum AggregateInstance {
Child(ChildName),
Parent,
Self_,
}
Expand description
An individual instance in an aggregate.
Variants§
Trait Implementations§
source§impl Clone for AggregateInstance
impl Clone for AggregateInstance
source§fn clone(&self) -> AggregateInstance
fn clone(&self) -> AggregateInstance
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 AggregateInstance
impl Debug for AggregateInstance
source§impl Display for AggregateInstance
impl Display for AggregateInstance
source§impl Hash for AggregateInstance
impl Hash for AggregateInstance
source§impl Ord for AggregateInstance
impl Ord for AggregateInstance
source§fn cmp(&self, other: &AggregateInstance) -> Ordering
fn cmp(&self, other: &AggregateInstance) -> 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 AggregateInstance
impl PartialEq for AggregateInstance
source§fn eq(&self, other: &AggregateInstance) -> bool
fn eq(&self, other: &AggregateInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AggregateInstance
impl PartialOrd for AggregateInstance
source§fn partial_cmp(&self, other: &AggregateInstance) -> Option<Ordering>
fn partial_cmp(&self, other: &AggregateInstance) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for AggregateInstance
impl StructuralPartialEq for AggregateInstance
Auto Trait Implementations§
impl Freeze for AggregateInstance
impl RefUnwindSafe for AggregateInstance
impl Send for AggregateInstance
impl Sync for AggregateInstance
impl Unpin for AggregateInstance
impl UnwindSafe for AggregateInstance
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