pub struct TelemetrySubscription {
pub types: Vec<TelemetryEventType>,
pub buffering: Option<BufferingConfig>,
pub destination: Destination,
}Expand description
Subscription configuration for the Telemetry API.
Fields§
§types: Vec<TelemetryEventType>Types of events to subscribe to.
buffering: Option<BufferingConfig>Buffering configuration.
destination: DestinationHTTP destination for telemetry events.
Trait Implementations§
Source§impl Clone for TelemetrySubscription
impl Clone for TelemetrySubscription
Source§fn clone(&self) -> TelemetrySubscription
fn clone(&self) -> TelemetrySubscription
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 TelemetrySubscription
impl Debug for TelemetrySubscription
Source§impl<'de> Deserialize<'de> for TelemetrySubscription
impl<'de> Deserialize<'de> for TelemetrySubscription
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 TelemetrySubscription
impl RefUnwindSafe for TelemetrySubscription
impl Send for TelemetrySubscription
impl Sync for TelemetrySubscription
impl Unpin for TelemetrySubscription
impl UnwindSafe for TelemetrySubscription
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