[][src]Struct newrelic_sys::_newrelic_external_segment_params_t

#[repr(C)]
pub struct _newrelic_external_segment_params_t { pub uri: *mut c_char, pub procedure: *mut c_char, pub library: *mut c_char, }

@brief Segment configuration used to instrument external calls.

Fields

uri: *mut c_char

@brief The URI that was loaded. This field is required to be a null-terminated string containing a valid URI, and cannot be NULL.

procedure: *mut c_char

@brief The procedure used to load the external resource.

In HTTP contexts, this will usually be the request method (eg GET, POST, et al). For non-HTTP requests, or protocols that encode more specific semantics on top of HTTP like SOAP, you may wish to use a different value that more precisely encodes how the resource was requested.

If provided, this field is required to be a null-terminated string that does not include any slash characters. It is also valid to provide NULL, in which case no procedure will be attached to the external segment.

library: *mut c_char

@brief The library used to load the external resource.

If provided, this field is required to be a null-terminated string that does not include any slash characters. It is also valid to provide NULL, in which case no library will be attached to the external segment.

Trait Implementations

impl Copy for _newrelic_external_segment_params_t[src]

impl Clone for _newrelic_external_segment_params_t[src]

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

Performs copy-assignment from source. Read more

impl Debug for _newrelic_external_segment_params_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]