pub struct Api {
pub log_endpoint: ApiEndpoint,
pub trace_endpoint: ApiEndpoint,
pub key: String,
pub client: Client,
pub batch_size: usize,
/* private fields */
}
Expand description
New relic Api
Fields§
§log_endpoint: ApiEndpoint
Log Api Endpoint
trace_endpoint: ApiEndpoint
Trace Api Endpoint
key: String
Api Key
client: Client
Http Client
batch_size: usize
Batch request size
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Api
impl !RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl !UnwindSafe for Api
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