pub struct ResolvedMapping { /* private fields */ }Expand description
Mapping of two collections, resolved based on the storage’s current state.
Identifies which two collections (one from each storage) are mapped to each other.
Implementations§
Source§impl ResolvedMapping
impl ResolvedMapping
Sourcepub fn alias(&self) -> &str
pub fn alias(&self) -> &str
Returns the alias for this mapping.
This is only used for logging and in user interfaces.
Sourcepub fn a(&self) -> &ResolvedCollection
pub fn a(&self) -> &ResolvedCollection
Returns resolved data for the collection on side A.
Sourcepub fn b(&self) -> &ResolvedCollection
pub fn b(&self) -> &ResolvedCollection
Returns resolved data for the collection on side B.
Trait Implementations§
Source§impl Debug for ResolvedMapping
impl Debug for ResolvedMapping
Source§impl PartialEq for ResolvedMapping
impl PartialEq for ResolvedMapping
impl StructuralPartialEq for ResolvedMapping
Auto Trait Implementations§
impl Freeze for ResolvedMapping
impl RefUnwindSafe for ResolvedMapping
impl Send for ResolvedMapping
impl Sync for ResolvedMapping
impl Unpin for ResolvedMapping
impl UnwindSafe for ResolvedMapping
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
Source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.