pub struct AccountExport {Show 13 fields
pub name: String,
pub subject: String,
pub kind: ExportType,
pub token_req: bool,
pub revocations: BTreeMap<String, i64>,
pub response_type: Option<ResponseType>,
pub response_threshold: i64,
pub service_latency: Option<ServiceLatency>,
pub account_token_position: u32,
pub advertise: bool,
pub allow_trace: bool,
pub description: String,
pub info_url: String,
}Expand description
An account-level export of a stream or service that other accounts may import.
Fields§
§name: StringHuman-readable export name.
subject: StringSubject (with wildcards) being exported.
kind: ExportTypeWhether this exports a stream or a service (serialized as type).
token_req: boolWhether importers need an activation token (private export).
revocations: BTreeMap<String, i64>Revoked activation tokens, keyed by account public key → revocation time.
response_type: Option<ResponseType>Reply cardinality for a service export (singleton/stream/chunked).
response_threshold: i64Latency-tracking response threshold (nanoseconds).
service_latency: Option<ServiceLatency>Optional latency-sampling configuration for a service export.
account_token_position: u32Token position for a dynamically-named (templated) export subject.
advertise: boolWhether the export is advertised to other accounts.
allow_trace: boolWhether message-trace propagation is allowed across this export.
description: StringFree-form description.
info_url: StringURL with more information about the export.
Trait Implementations§
Source§impl Clone for AccountExport
impl Clone for AccountExport
Source§fn clone(&self) -> AccountExport
fn clone(&self) -> AccountExport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more