pub struct PlatformTelemetrySubscription {
pub name: String,
pub state: String,
pub types: Vec<String>,
}Expand description
Platform event: telemetry subscription registered.
Emitted when an extension subscribes to the Telemetry API.
Fields§
§name: StringName of the extension that subscribed.
state: StringState of the subscription (e.g., “Subscribed”).
types: Vec<String>Types of telemetry the extension subscribed to.
Trait Implementations§
Source§impl Clone for PlatformTelemetrySubscription
impl Clone for PlatformTelemetrySubscription
Source§fn clone(&self) -> PlatformTelemetrySubscription
fn clone(&self) -> PlatformTelemetrySubscription
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<'de> Deserialize<'de> for PlatformTelemetrySubscription
impl<'de> Deserialize<'de> for PlatformTelemetrySubscription
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 PlatformTelemetrySubscription
impl RefUnwindSafe for PlatformTelemetrySubscription
impl Send for PlatformTelemetrySubscription
impl Sync for PlatformTelemetrySubscription
impl Unpin for PlatformTelemetrySubscription
impl UnwindSafe for PlatformTelemetrySubscription
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