pub struct ComponentCodegenBridge {Show 13 fields
pub asset_id: String,
pub fragment_key: String,
pub fragment_root: ComponentFragmentRoot,
pub inbound_fields: Vec<ComponentCodegenInboundField>,
pub inbound_targets: Vec<ComponentCodegenInboundTarget>,
pub signals: Vec<ComponentCodegenSignal>,
pub expressions: Vec<ComponentCodegenExpression>,
pub payload_handlers: Vec<ComponentCodegenPayloadHandler>,
pub callback_slots: Vec<ComponentCodegenCallbackSlot>,
pub inbound_node_refs: Vec<ComponentCodegenInboundNodeRef>,
pub direct_node_ref_aliases: Vec<ComponentCodegenDirectNodeRefAlias>,
pub uses_queries: bool,
pub uses_mutations: bool,
}Expand description
Validated producer-local relocation data needed by final browser codegen.
This record is deliberately separate from ComponentDescriptor.
Producer IDs and legacy asset keys are build/codegen coordinates, not
semantic component identity. The semantic link plan nevertheless hashes
the complete record because changing any relocation changes emitted code.
Fields§
§asset_id: StringOpaque producer component asset ID.
fragment_key: StringOpaque producer component-fragment key.
The current producer uses the same key as asset_id; keeping a
dedicated field makes that codegen ABI explicit and versionable.
fragment_root: ComponentFragmentRootProducer-proven fragment root contract.
inbound_fields: Vec<ComponentCodegenInboundField>Inbound fields in canonical component-field order.
inbound_targets: Vec<ComponentCodegenInboundTarget>Actual SeedOnce signal targets in canonical prop-site order.
signals: Vec<ComponentCodegenSignal>Surviving legacy signals in producer-ID order.
expressions: Vec<ComponentCodegenExpression>Surviving legacy expressions in producer-ID order.
payload_handlers: Vec<ComponentCodegenPayloadHandler>Transported payload handlers in prelude-local order.
callback_slots: Vec<ComponentCodegenCallbackSlot>Callback slots in producer-ID order.
inbound_node_refs: Vec<ComponentCodegenInboundNodeRef>Required inbound NodeRef fields in canonical field order.
direct_node_ref_aliases: Vec<ComponentCodegenDirectNodeRefAlias>Static direct NodeRef aliases in edge/field order.
uses_queries: boolWhether this producer fragment contains reachable query observation, refetch, or invalidation work.
Declaration presence is intentionally insufficient: dead queries must not make the linked owner load the query runtime.
uses_mutations: boolWhether this producer fragment contains reachable mutation observation or execution work.
As with queries, declaration presence is insufficient: dead mutations remain producer metadata and do not load the mutation runtime.
Trait Implementations§
Source§impl CanonicalEncode for ComponentCodegenBridge
impl CanonicalEncode for ComponentCodegenBridge
Source§fn encode_canonical(&self, encoder: &mut CanonicalEncoder)
fn encode_canonical(&self, encoder: &mut CanonicalEncoder)
Source§impl Clone for ComponentCodegenBridge
impl Clone for ComponentCodegenBridge
Source§impl Debug for ComponentCodegenBridge
impl Debug for ComponentCodegenBridge
impl Eq for ComponentCodegenBridge
Source§impl PartialEq for ComponentCodegenBridge
impl PartialEq for ComponentCodegenBridge
impl StructuralPartialEq for ComponentCodegenBridge
Auto Trait Implementations§
impl Freeze for ComponentCodegenBridge
impl RefUnwindSafe for ComponentCodegenBridge
impl Send for ComponentCodegenBridge
impl Sync for ComponentCodegenBridge
impl Unpin for ComponentCodegenBridge
impl UnsafeUnpin for ComponentCodegenBridge
impl UnwindSafe for ComponentCodegenBridge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more