pub struct LoggingNewrelicAdditional {
pub format: Option<String>,
pub token: Option<String>,
pub region: Option<Region>,
}
Fields§
§format: Option<String>
A Fastly log format string. Must produce valid JSON that New Relic Logs can ingest.
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.
Implementations§
source§impl LoggingNewrelicAdditional
impl LoggingNewrelicAdditional
pub fn new() -> LoggingNewrelicAdditional
Trait Implementations§
source§impl Clone for LoggingNewrelicAdditional
impl Clone for LoggingNewrelicAdditional
source§fn clone(&self) -> LoggingNewrelicAdditional
fn clone(&self) -> LoggingNewrelicAdditional
Returns a copy 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 Debug for LoggingNewrelicAdditional
impl Debug for LoggingNewrelicAdditional
source§impl Default for LoggingNewrelicAdditional
impl Default for LoggingNewrelicAdditional
source§fn default() -> LoggingNewrelicAdditional
fn default() -> LoggingNewrelicAdditional
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingNewrelicAdditional
impl<'de> Deserialize<'de> for LoggingNewrelicAdditional
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<LoggingNewrelicAdditional> for LoggingNewrelicAdditional
impl PartialEq<LoggingNewrelicAdditional> for LoggingNewrelicAdditional
source§fn eq(&self, other: &LoggingNewrelicAdditional) -> bool
fn eq(&self, other: &LoggingNewrelicAdditional) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingNewrelicAdditional
Auto Trait Implementations§
impl RefUnwindSafe for LoggingNewrelicAdditional
impl Send for LoggingNewrelicAdditional
impl Sync for LoggingNewrelicAdditional
impl Unpin for LoggingNewrelicAdditional
impl UnwindSafe for LoggingNewrelicAdditional
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