pub enum RecordOrigin {
Source,
Link {
protocol: String,
address: String,
},
Transform {
input: String,
},
TransformJoin {
inputs: Vec<String>,
},
Passive,
}Expand description
How a record gets its values — part of the dependency graph.
Variants§
Source
Autonomous producer via .source()
Link
Inbound connector via .link_from()
Transform
Single-input reactive derivation via .transform()
TransformJoin
Multi-input reactive join via .transform_join()
Passive
No registered producer (writable via record.set / db.produce())
Trait Implementations§
Source§impl Clone for RecordOrigin
impl Clone for RecordOrigin
Source§fn clone(&self) -> RecordOrigin
fn clone(&self) -> RecordOrigin
Returns a duplicate of the value. Read more
1.0.0 · 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 RecordOrigin
impl Debug for RecordOrigin
Source§impl<'de> Deserialize<'de> for RecordOrigin
impl<'de> Deserialize<'de> for RecordOrigin
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
Auto Trait Implementations§
impl Freeze for RecordOrigin
impl RefUnwindSafe for RecordOrigin
impl Send for RecordOrigin
impl Sync for RecordOrigin
impl Unpin for RecordOrigin
impl UnsafeUnpin for RecordOrigin
impl UnwindSafe for RecordOrigin
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