pub struct WireRel {
pub name: Box<str>,
pub slot: u32,
pub child: Option<WireSchema>,
pub project: Option<WireProjection>,
}Expand description
A relationship slot on a WireSchema: its name, its slot index, either the
child level’s schema (in-view) or None (gating / out-of-view — the receiver’s
in-view gate drops Child changes addressed at it, FLAT-CHANGES-DESIGN.md §6),
and an optional scalar-projection annotation (REDUCE-DESIGN.md §9).
Fields§
§name: Box<str>§slot: u32§child: Option<WireSchema>§project: Option<WireProjection>Some ⇒ a scalar-projected relationship aggregate; the receiver unwraps the
one-row child into a scalar field. None for an ordinary relationship.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireRel
impl<'de> Deserialize<'de> for WireRel
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 WireRel
impl StructuralPartialEq for WireRel
Auto Trait Implementations§
impl Freeze for WireRel
impl RefUnwindSafe for WireRel
impl Send for WireRel
impl Sync for WireRel
impl Unpin for WireRel
impl UnsafeUnpin for WireRel
impl UnwindSafe for WireRel
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