pub struct PropertyMethods<'a, S>where
    S: 'a,{ /* private fields */ }
Expand description

A builder providing access to all methods supported on property resources. It is not used directly, but through the GoogleAnalyticsAdmin hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_analyticsadmin1_alpha as analyticsadmin1_alpha;
 
use std::default::Default;
use analyticsadmin1_alpha::{GoogleAnalyticsAdmin, oauth2, hyper, hyper_rustls, chrono, FieldMask};
 
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
        secret,
        oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    ).build().await.unwrap();
let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `acknowledge_user_data_collection(...)`, `conversion_events_create(...)`, `conversion_events_delete(...)`, `conversion_events_get(...)`, `conversion_events_list(...)`, `create(...)`, `custom_dimensions_archive(...)`, `custom_dimensions_create(...)`, `custom_dimensions_get(...)`, `custom_dimensions_list(...)`, `custom_dimensions_patch(...)`, `custom_metrics_archive(...)`, `custom_metrics_create(...)`, `custom_metrics_get(...)`, `custom_metrics_list(...)`, `custom_metrics_patch(...)`, `data_streams_create(...)`, `data_streams_delete(...)`, `data_streams_get(...)`, `data_streams_get_global_site_tag(...)`, `data_streams_list(...)`, `data_streams_measurement_protocol_secrets_create(...)`, `data_streams_measurement_protocol_secrets_delete(...)`, `data_streams_measurement_protocol_secrets_get(...)`, `data_streams_measurement_protocol_secrets_list(...)`, `data_streams_measurement_protocol_secrets_patch(...)`, `data_streams_patch(...)`, `delete(...)`, `display_video360_advertiser_link_proposals_approve(...)`, `display_video360_advertiser_link_proposals_cancel(...)`, `display_video360_advertiser_link_proposals_create(...)`, `display_video360_advertiser_link_proposals_delete(...)`, `display_video360_advertiser_link_proposals_get(...)`, `display_video360_advertiser_link_proposals_list(...)`, `display_video360_advertiser_links_create(...)`, `display_video360_advertiser_links_delete(...)`, `display_video360_advertiser_links_get(...)`, `display_video360_advertiser_links_list(...)`, `display_video360_advertiser_links_patch(...)`, `firebase_links_create(...)`, `firebase_links_delete(...)`, `firebase_links_list(...)`, `get(...)`, `get_data_retention_settings(...)`, `get_google_signals_settings(...)`, `google_ads_links_create(...)`, `google_ads_links_delete(...)`, `google_ads_links_list(...)`, `google_ads_links_patch(...)`, `list(...)`, `patch(...)`, `update_data_retention_settings(...)`, `update_google_signals_settings(...)`, `user_links_audit(...)`, `user_links_batch_create(...)`, `user_links_batch_delete(...)`, `user_links_batch_get(...)`, `user_links_batch_update(...)`, `user_links_create(...)`, `user_links_delete(...)`, `user_links_get(...)`, `user_links_list(...)` and `user_links_patch(...)`
// to build up your call.
let rb = hub.properties();

Implementations§

source§

impl<'a, S> PropertyMethods<'a, S>

source

pub fn conversion_events_create( &self, request: GoogleAnalyticsAdminV1alphaConversionEvent, parent: &str ) -> PropertyConversionEventCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a conversion event with the specified attributes.

Arguments
  • request - No description provided.
  • parent - Required. The resource name of the parent property where this conversion event will be created. Format: properties/123
source

pub fn conversion_events_delete( &self, name: &str ) -> PropertyConversionEventDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes a conversion event in a property.

Arguments
  • name - Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: “properties/123/conversionEvents/456”
source

pub fn conversion_events_get( &self, name: &str ) -> PropertyConversionEventGetCall<'a, S>

Create a builder to help you perform the following task:

Retrieve a single conversion event.

Arguments
  • name - Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: “properties/123/conversionEvents/456”
source

pub fn conversion_events_list( &self, parent: &str ) -> PropertyConversionEventListCall<'a, S>

Create a builder to help you perform the following task:

Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.

Arguments
  • parent - Required. The resource name of the parent property. Example: ‘properties/123’
source

pub fn custom_dimensions_archive( &self, request: GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest, name: &str ) -> PropertyCustomDimensionArchiveCall<'a, S>

Create a builder to help you perform the following task:

Archives a CustomDimension on a property.

Arguments
  • request - No description provided.
  • name - Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678
source

pub fn custom_dimensions_create( &self, request: GoogleAnalyticsAdminV1alphaCustomDimension, parent: &str ) -> PropertyCustomDimensionCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a CustomDimension.

Arguments
  • request - No description provided.
  • parent - Required. Example format: properties/1234
source

pub fn custom_dimensions_get( &self, name: &str ) -> PropertyCustomDimensionGetCall<'a, S>

Create a builder to help you perform the following task:

Lookup for a single CustomDimension.

Arguments
  • name - Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678
source

pub fn custom_dimensions_list( &self, parent: &str ) -> PropertyCustomDimensionListCall<'a, S>

Create a builder to help you perform the following task:

Lists CustomDimensions on a property.

Arguments
  • parent - Required. Example format: properties/1234
source

pub fn custom_dimensions_patch( &self, request: GoogleAnalyticsAdminV1alphaCustomDimension, name: &str ) -> PropertyCustomDimensionPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates a CustomDimension on a property.

Arguments
  • request - No description provided.
  • name - Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}
source

pub fn custom_metrics_archive( &self, request: GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest, name: &str ) -> PropertyCustomMetricArchiveCall<'a, S>

Create a builder to help you perform the following task:

Archives a CustomMetric on a property.

Arguments
  • request - No description provided.
  • name - Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678
source

pub fn custom_metrics_create( &self, request: GoogleAnalyticsAdminV1alphaCustomMetric, parent: &str ) -> PropertyCustomMetricCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a CustomMetric.

Arguments
  • request - No description provided.
  • parent - Required. Example format: properties/1234
source

pub fn custom_metrics_get( &self, name: &str ) -> PropertyCustomMetricGetCall<'a, S>

Create a builder to help you perform the following task:

Lookup for a single CustomMetric.

Arguments
  • name - Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678
source

pub fn custom_metrics_list( &self, parent: &str ) -> PropertyCustomMetricListCall<'a, S>

Create a builder to help you perform the following task:

Lists CustomMetrics on a property.

Arguments
  • parent - Required. Example format: properties/1234
source

pub fn custom_metrics_patch( &self, request: GoogleAnalyticsAdminV1alphaCustomMetric, name: &str ) -> PropertyCustomMetricPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates a CustomMetric on a property.

Arguments
  • request - No description provided.
  • name - Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}
source

pub fn data_streams_measurement_protocol_secrets_create( &self, request: GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, parent: &str ) -> PropertyDataStreamMeasurementProtocolSecretCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a measurement protocol secret.

Arguments
  • request - No description provided.
  • parent - Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}
source

pub fn data_streams_measurement_protocol_secrets_delete( &self, name: &str ) -> PropertyDataStreamMeasurementProtocolSecretDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes target MeasurementProtocolSecret.

Arguments
  • name - Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
source

pub fn data_streams_measurement_protocol_secrets_get( &self, name: &str ) -> PropertyDataStreamMeasurementProtocolSecretGetCall<'a, S>

Create a builder to help you perform the following task:

Lookup for a single “GA4” MeasurementProtocolSecret.

Arguments
  • name - Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
source

pub fn data_streams_measurement_protocol_secrets_list( &self, parent: &str ) -> PropertyDataStreamMeasurementProtocolSecretListCall<'a, S>

Create a builder to help you perform the following task:

Returns child MeasurementProtocolSecrets under the specified parent Property.

Arguments
  • parent - Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
source

pub fn data_streams_measurement_protocol_secrets_patch( &self, request: GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, name: &str ) -> PropertyDataStreamMeasurementProtocolSecretPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates a measurement protocol secret.

Arguments
  • request - No description provided.
  • name - Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
source

pub fn data_streams_create( &self, request: GoogleAnalyticsAdminV1alphaDataStream, parent: &str ) -> PropertyDataStreamCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a DataStream.

Arguments
  • request - No description provided.
  • parent - Required. Example format: properties/1234
source

pub fn data_streams_delete( &self, name: &str ) -> PropertyDataStreamDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes a DataStream on a property.

Arguments
  • name - Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678
source

pub fn data_streams_get(&self, name: &str) -> PropertyDataStreamGetCall<'a, S>

Create a builder to help you perform the following task:

Lookup for a single DataStream.

Arguments
  • name - Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678
source

pub fn data_streams_get_global_site_tag( &self, name: &str ) -> PropertyDataStreamGetGlobalSiteTagCall<'a, S>

Create a builder to help you perform the following task:

Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.

Arguments
  • name - Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: “properties/123/dataStreams/456/globalSiteTag”
source

pub fn data_streams_list( &self, parent: &str ) -> PropertyDataStreamListCall<'a, S>

Create a builder to help you perform the following task:

Lists DataStreams on a property.

Arguments
  • parent - Required. Example format: properties/1234
source

pub fn data_streams_patch( &self, request: GoogleAnalyticsAdminV1alphaDataStream, name: &str ) -> PropertyDataStreamPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates a DataStream on a property.

Arguments
  • request - No description provided.
  • name - Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: “properties/1000/dataStreams/2000”

Create a builder to help you perform the following task:

Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.

Arguments
  • request - No description provided.
  • name - Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678

Create a builder to help you perform the following task:

Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.

Arguments
  • request - No description provided.
  • name - Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678

Create a builder to help you perform the following task:

Creates a DisplayVideo360AdvertiserLinkProposal.

Arguments
  • request - No description provided.
  • parent - Required. Example format: properties/1234

Create a builder to help you perform the following task:

Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.

Arguments
  • name - Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678

Create a builder to help you perform the following task:

Lookup for a single DisplayVideo360AdvertiserLinkProposal.

Arguments
  • name - Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678

Create a builder to help you perform the following task:

Lists DisplayVideo360AdvertiserLinkProposals on a property.

Arguments
  • parent - Required. Example format: properties/1234

Create a builder to help you perform the following task:

Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.

Arguments
  • request - No description provided.
  • parent - Required. Example format: properties/1234

Create a builder to help you perform the following task:

Deletes a DisplayVideo360AdvertiserLink on a property.

Arguments
  • name - Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678

Create a builder to help you perform the following task:

Look up a single DisplayVideo360AdvertiserLink

Arguments
  • name - Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678

Create a builder to help you perform the following task:

Lists all DisplayVideo360AdvertiserLinks on a property.

Arguments
  • parent - Required. Example format: properties/1234

Create a builder to help you perform the following task:

Updates a DisplayVideo360AdvertiserLink on a property.

Arguments
  • request - No description provided.
  • name - Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID

Create a builder to help you perform the following task:

Creates a FirebaseLink. Properties can have at most one FirebaseLink.

Arguments
  • request - No description provided.
  • parent - Required. Format: properties/{property_id} Example: properties/1234

Create a builder to help you perform the following task:

Deletes a FirebaseLink on a property

Arguments
  • name - Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: properties/1234/firebaseLinks/5678

Create a builder to help you perform the following task:

Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

Arguments
  • parent - Required. Format: properties/{property_id} Example: properties/1234

Create a builder to help you perform the following task:

Creates a GoogleAdsLink.

Arguments
  • request - No description provided.
  • parent - Required. Example format: properties/1234

Create a builder to help you perform the following task:

Deletes a GoogleAdsLink on a property

Arguments
  • name - Required. Example format: properties/1234/googleAdsLinks/5678

Create a builder to help you perform the following task:

Lists GoogleAdsLinks on a property.

Arguments
  • parent - Required. Example format: properties/1234

Create a builder to help you perform the following task:

Updates a GoogleAdsLink on a property

Arguments
  • request - No description provided.
  • name - Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.

Create a builder to help you perform the following task:

Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.

Arguments
  • request - No description provided.
  • parent - Required. Example format: accounts/1234

Create a builder to help you perform the following task:

Creates information about multiple users’ links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created.

Arguments
  • request - No description provided.
  • parent - Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

Create a builder to help you perform the following task:

Deletes information about multiple users’ links to an account or property.

Arguments
  • request - No description provided.
  • parent - Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format: accounts/1234

Create a builder to help you perform the following task:

Gets information about multiple users’ links to an account or property.

Arguments
  • parent - Required. The account or property that all user links in the request are for. The parent of all provided values for the ‘names’ field must match this field. Example format: accounts/1234

Create a builder to help you perform the following task:

Updates information about multiple users’ links to an account or property.

Arguments
  • request - No description provided.
  • parent - Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

Create a builder to help you perform the following task:

Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user’s existing permissions will be unioned with the permissions specified in the new UserLink.

Arguments
  • request - No description provided.
  • parent - Required. Example format: accounts/1234

Create a builder to help you perform the following task:

Deletes a user link on an account or property.

Arguments
  • name - Required. Example format: accounts/1234/userLinks/5678

Create a builder to help you perform the following task:

Gets information about a user’s link to an account or property.

Arguments
  • name - Required. Example format: accounts/1234/userLinks/5678

Create a builder to help you perform the following task:

Lists all user links on an account or property.

Arguments
  • parent - Required. Example format: accounts/1234

Create a builder to help you perform the following task:

Updates a user link on an account or property.

Arguments
  • request - No description provided.
  • name - Output only. Example format: properties/1234/userLinks/5678
source

pub fn acknowledge_user_data_collection( &self, request: GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest, property: &str ) -> PropertyAcknowledgeUserDataCollectionCall<'a, S>

Create a builder to help you perform the following task:

Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or via this API) before MeasurementProtocolSecret resources may be created.

Arguments
  • request - No description provided.
  • property - Required. The property for which to acknowledge user data collection.
source

pub fn create( &self, request: GoogleAnalyticsAdminV1alphaProperty ) -> PropertyCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an “GA4” property with the specified location and attributes.

Arguments
  • request - No description provided.
source

pub fn delete(&self, name: &str) -> PropertyDeleteCall<'a, S>

Create a builder to help you perform the following task:

Marks target Property as soft-deleted (ie: “trashed”) and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not an GA4 Property.

Arguments
  • name - Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: “properties/1000”
source

pub fn get(&self, name: &str) -> PropertyGetCall<'a, S>

Create a builder to help you perform the following task:

Lookup for a single “GA4” Property.

Arguments
  • name - Required. The name of the property to lookup. Format: properties/{property_id} Example: “properties/1000”
source

pub fn get_data_retention_settings( &self, name: &str ) -> PropertyGetDataRetentionSettingCall<'a, S>

Create a builder to help you perform the following task:

Returns the singleton data retention settings for this property.

Arguments
  • name - Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: “properties/1000/dataRetentionSettings”
source

pub fn get_google_signals_settings( &self, name: &str ) -> PropertyGetGoogleSignalsSettingCall<'a, S>

Create a builder to help you perform the following task:

Lookup for Google Signals settings for a property.

Arguments
  • name - Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings
source

pub fn list(&self) -> PropertyListCall<'a, S>

Create a builder to help you perform the following task:

Returns child Properties under the specified parent Account. Only “GA4” properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: “trashed”) properties are excluded by default. Returns an empty list if no relevant properties are found.

source

pub fn patch( &self, request: GoogleAnalyticsAdminV1alphaProperty, name: &str ) -> PropertyPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates a property.

Arguments
  • request - No description provided.
  • name - Output only. Resource name of this property. Format: properties/{property_id} Example: “properties/1000”
source

pub fn update_data_retention_settings( &self, request: GoogleAnalyticsAdminV1alphaDataRetentionSettings, name: &str ) -> PropertyUpdateDataRetentionSettingCall<'a, S>

Create a builder to help you perform the following task:

Updates the singleton data retention settings for this property.

Arguments
  • request - No description provided.
  • name - Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings
source

pub fn update_google_signals_settings( &self, request: GoogleAnalyticsAdminV1alphaGoogleSignalsSettings, name: &str ) -> PropertyUpdateGoogleSignalsSettingCall<'a, S>

Create a builder to help you perform the following task:

Updates Google Signals settings for a property.

Arguments
  • request - No description provided.
  • name - Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: “properties/1000/googleSignalsSettings”

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for PropertyMethods<'a, S>

§

impl<'a, S> Send for PropertyMethods<'a, S>where S: Sync,

§

impl<'a, S> Sync for PropertyMethods<'a, S>where S: Sync,

§

impl<'a, S> Unpin for PropertyMethods<'a, S>

§

impl<'a, S> !UnwindSafe for PropertyMethods<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more