pub struct LoggingNewrelicotlpAdditional {
pub format: Option<String>,
pub token: Option<String>,
pub region: Option<Region>,
pub url: Option<String>,
}
Fields§
§format: Option<String>
A Fastly log format string.
token: Option<String>
The Insert API key from the Account page of your New Relic account. Required.
region: Option<Region>
The region to which to stream logs.
url: Option<String>
(Optional) URL of the New Relic Trace Observer, if you are using New Relic Infinite Tracing.
Implementations§
Trait Implementations§
Source§impl Clone for LoggingNewrelicotlpAdditional
impl Clone for LoggingNewrelicotlpAdditional
Source§fn clone(&self) -> LoggingNewrelicotlpAdditional
fn clone(&self) -> LoggingNewrelicotlpAdditional
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 Default for LoggingNewrelicotlpAdditional
impl Default for LoggingNewrelicotlpAdditional
Source§fn default() -> LoggingNewrelicotlpAdditional
fn default() -> LoggingNewrelicotlpAdditional
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingNewrelicotlpAdditional
impl<'de> Deserialize<'de> for LoggingNewrelicotlpAdditional
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
Source§impl PartialEq for LoggingNewrelicotlpAdditional
impl PartialEq for LoggingNewrelicotlpAdditional
Source§fn eq(&self, other: &LoggingNewrelicotlpAdditional) -> bool
fn eq(&self, other: &LoggingNewrelicotlpAdditional) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LoggingNewrelicotlpAdditional
Auto Trait Implementations§
impl Freeze for LoggingNewrelicotlpAdditional
impl RefUnwindSafe for LoggingNewrelicotlpAdditional
impl Send for LoggingNewrelicotlpAdditional
impl Sync for LoggingNewrelicotlpAdditional
impl Unpin for LoggingNewrelicotlpAdditional
impl UnwindSafe for LoggingNewrelicotlpAdditional
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