[][src]Struct newrelic_sys::_newrelic_datastore_segment_config_t

#[repr(C)]
pub struct _newrelic_datastore_segment_config_t { pub instance_reporting: bool, pub database_name_reporting: bool, }

@brief Configuration used to configure how datastore segments are recorded in a transaction.

Fields

instance_reporting: bool

@brief Configuration which controls whether datastore instance names are reported to New Relic.

If set to true for a transaction, instance names are reported to New Relic. More specifically, the host and port_path_or_id fields in a newrelic_datastore_segment_params_t passed to newrelic_datastore_start_segment() is reported when the corresponding transaction is reported.

database_name_reporting: bool

@brief Configuration which controls whether datastore database names are reported to New Relic.

If set to true for a transaction, database names are reported to New Relic. More specifically, the database_name field in a newrelic_datastore_segment_params_t passed to newrelic_datastore_start_segment() is reported when the corresponding transaction is reported.

Trait Implementations

impl Copy for _newrelic_datastore_segment_config_t[src]

impl Clone for _newrelic_datastore_segment_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for _newrelic_datastore_segment_config_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]