pub struct LoggingScalyrAdditional {
pub region: Option<Region>,
pub token: Option<String>,
pub project_id: Option<String>,
}
Fields§
§region: Option<Region>
The region that log data will be sent to.
token: Option<String>
The token to use for authentication.
project_id: Option<String>
The name of the logfile within Scalyr.
Implementations§
Source§impl LoggingScalyrAdditional
impl LoggingScalyrAdditional
pub fn new() -> LoggingScalyrAdditional
Trait Implementations§
Source§impl Clone for LoggingScalyrAdditional
impl Clone for LoggingScalyrAdditional
Source§fn clone(&self) -> LoggingScalyrAdditional
fn clone(&self) -> LoggingScalyrAdditional
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 LoggingScalyrAdditional
impl Debug for LoggingScalyrAdditional
Source§impl Default for LoggingScalyrAdditional
impl Default for LoggingScalyrAdditional
Source§fn default() -> LoggingScalyrAdditional
fn default() -> LoggingScalyrAdditional
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingScalyrAdditional
impl<'de> Deserialize<'de> for LoggingScalyrAdditional
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 LoggingScalyrAdditional
impl PartialEq for LoggingScalyrAdditional
Source§impl Serialize for LoggingScalyrAdditional
impl Serialize for LoggingScalyrAdditional
impl StructuralPartialEq for LoggingScalyrAdditional
Auto Trait Implementations§
impl Freeze for LoggingScalyrAdditional
impl RefUnwindSafe for LoggingScalyrAdditional
impl Send for LoggingScalyrAdditional
impl Sync for LoggingScalyrAdditional
impl Unpin for LoggingScalyrAdditional
impl UnwindSafe for LoggingScalyrAdditional
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