pub struct ProtocolReport {
pub protocol_version: String,
pub websocket: String,
pub subscription: Vec<ParameterView>,
pub heartbeat_seconds: u64,
pub max_connections: usize,
pub max_replay: usize,
pub event_types: Vec<String>,
pub stream_types: Vec<String>,
pub event_schema: Value,
pub stream_schema: Value,
pub limits: LimitsView,
}Expand description
The answer of executions.protocol: the live channel’s whole contract, derived from
the types that implement it.
Fields§
§protocol_version: StringThe version of the event protocol this server speaks.
websocket: StringWhere the live channel is: a path on this same server, not a second daemon.
subscription: Vec<ParameterView>How the subscription is expressed, and what a reconnect sends.
heartbeat_seconds: u64How many seconds of quiet before the server pings.
max_connections: usizeHow many live channels this process serves at once.
max_replay: usizeHow many retained events a scoped connection replays before going live.
event_types: Vec<String>The event types a client may receive, from the one enum that defines them.
stream_types: Vec<String>The stream’s own control messages.
event_schema: ValueThe JSON Schema of an event, derived from the Rust type.
stream_schema: ValueThe JSON Schema of a control message, derived from the Rust type.
limits: LimitsViewWhat the store keeps, so a client knows what it may ask for.
Trait Implementations§
Source§impl Debug for ProtocolReport
impl Debug for ProtocolReport
Source§impl<'de> Deserialize<'de> for ProtocolReport
impl<'de> Deserialize<'de> for ProtocolReport
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 JsonSchema for ProtocolReport
impl JsonSchema for ProtocolReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more