pub struct HydrationProjectionV2 { /* private fields */ }Expand description
Complete same-snapshot hydration authority for one model query.
Implementations§
Source§impl HydrationProjectionV2
impl HydrationProjectionV2
Sourcepub const fn new(
bindings: Vec<HydrationBindingV2>,
descriptors: Vec<HydrationDescriptorV2>,
) -> Self
pub const fn new( bindings: Vec<HydrationBindingV2>, descriptors: Vec<HydrationDescriptorV2>, ) -> Self
Construct one complete hydration projection.
Sourcepub fn bindings(&self) -> &[HydrationBindingV2]
pub fn bindings(&self) -> &[HydrationBindingV2]
Return declared-to-concrete binding projections.
Sourcepub fn descriptors(&self) -> &[HydrationDescriptorV2]
pub fn descriptors(&self) -> &[HydrationDescriptorV2]
Return exact concrete descriptor projections.
Trait Implementations§
Source§impl Clone for HydrationProjectionV2
impl Clone for HydrationProjectionV2
Source§fn clone(&self) -> HydrationProjectionV2
fn clone(&self) -> HydrationProjectionV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HydrationProjectionV2
impl Debug for HydrationProjectionV2
Source§impl<'de> Deserialize<'de> for HydrationProjectionV2
impl<'de> Deserialize<'de> for HydrationProjectionV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HydrationProjectionV2
Source§impl PartialEq for HydrationProjectionV2
impl PartialEq for HydrationProjectionV2
Source§impl Serialize for HydrationProjectionV2
impl Serialize for HydrationProjectionV2
impl StructuralPartialEq for HydrationProjectionV2
Auto Trait Implementations§
impl Freeze for HydrationProjectionV2
impl RefUnwindSafe for HydrationProjectionV2
impl Send for HydrationProjectionV2
impl Sync for HydrationProjectionV2
impl Unpin for HydrationProjectionV2
impl UnsafeUnpin for HydrationProjectionV2
impl UnwindSafe for HydrationProjectionV2
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