pub struct GroupedObservations(/* private fields */);Expand description
An actual independent domain of grouped observations.
Implementations§
Source§impl GroupedObservations
impl GroupedObservations
Sourcepub fn values(&self) -> &NumericValues
pub fn values(&self) -> &NumericValues
Actual original observation values.
Sourcepub fn source_rows(&self) -> Option<&SourceRows>
pub fn source_rows(&self) -> Option<&SourceRows>
Exact supplied record IDs, if present.
Sourcepub fn domains(&self) -> &[DataDomainInfo]
pub fn domains(&self) -> &[DataDomainInfo]
Actual observation domain.
Sourcepub fn members(
&self,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>>
pub fn members( &self, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>>
Read one actual observation’s original relation.
Sourcepub fn members_in(
&self,
domain: &DataDomainRef,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>>
pub fn members_in( &self, domain: &DataDomainRef, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>>
Read a member within a specified actual observation domain.
Trait Implementations§
Source§impl Clone for GroupedObservations
impl Clone for GroupedObservations
Auto Trait Implementations§
impl Forget for GroupedObservations
impl Freeze for GroupedObservationswhere
*const ArcInner<ObservationData> is !null: Freeze,
PhantomData<ArcInner<ObservationData>>: Freeze,
impl Move for GroupedObservations
impl RefUnwindSafe for GroupedObservations
impl Send for GroupedObservations
impl Sync for GroupedObservations
impl Unpin for GroupedObservations
impl UnsafeUnpin for GroupedObservationswhere
*const ArcInner<ObservationData> is !null: UnsafeUnpin,
PhantomData<ArcInner<ObservationData>>: UnsafeUnpin,
impl UnwindSafe for GroupedObservationswhere
Arc<ObservationData>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.