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
impl StructuralPartialEq for LoggingNewrelicAdditional
Auto Trait Implementations§
impl Freeze for LoggingNewrelicAdditional
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