Function libdata::column::register_endpoint []

pub fn register_endpoint<I: EndpointType>()

Register a type to be used as endpoint columns.

This is similar to register, but for type I passed it registers Local<I> and Remote<I>. This helps when the value shall be present on each endpoint of a flow.

#[derive(Clone, Debug, Deserialize, Eq, Ord, Serialize, PartialEq, PartialOrd)]
struct SomeColumn(String);

impl EndpointType for SomeColumn {
    fn name() -> String {
        "some-column".to_owned()
    }
}

column::register_endpoint::<SomeColumn>();