pub struct FeedDescriptor {
pub name: String,
pub schema: WireSchema,
pub transports: Vec<TransportTag>,
pub formats: Vec<FormatPreference>,
pub capabilities: Capabilities,
pub event_time_key: Option<String>,
pub tags: Vec<String>,
pub description: Option<String>,
}Expand description
Single named live feed, as advertised by a publisher.
A descriptor is information-only: it describes what the feed is and how it
can be consumed. The matching producer-side handle
lives in live-stream.
Fields§
§name: StringStable identifier for the feed, unique within a single publisher.
schema: WireSchemaSchema every emitted batch on the feed conforms to.
transports: Vec<TransportTag>Transports the publisher is currently accepting subscriptions over.
formats: Vec<FormatPreference>Formats the publisher can serialise batches into.
capabilities: CapabilitiesWhat the publisher is willing to do server-side at subscribe time.
event_time_key: Option<String>Name of the column carrying the canonical event timestamp on this feed. Optional in the manifest grammar so future non-temporal feeds remain expressible, always populated for streaming market data feeds.
Free-form classification tags, e.g. ["finance", "ticks"].
description: Option<String>Optional human-readable description.
Implementations§
Source§impl FeedDescriptor
impl FeedDescriptor
pub fn new(name: impl Into<String>, schema: WireSchema) -> Self
Trait Implementations§
Source§impl Clone for FeedDescriptor
impl Clone for FeedDescriptor
Source§fn clone(&self) -> FeedDescriptor
fn clone(&self) -> FeedDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FeedDescriptor
impl Debug for FeedDescriptor
Source§impl<'de> Deserialize<'de> for FeedDescriptor
impl<'de> Deserialize<'de> for FeedDescriptor
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>,
Source§impl PartialEq for FeedDescriptor
impl PartialEq for FeedDescriptor
Source§fn eq(&self, other: &FeedDescriptor) -> bool
fn eq(&self, other: &FeedDescriptor) -> bool
self and other values to be equal, and is used by ==.