pub struct LoggingGenericCommon {
    pub message_type: Option<MessageType>,
    pub timestamp_format: Option<String>,
    pub compression_codec: Option<CompressionCodec>,
}Fields§
§message_type: Option<MessageType>How the message should be formatted.
timestamp_format: Option<String>A timestamp format
compression_codec: Option<CompressionCodec>The codec used for compressing your logs. Valid values are zstd, snappy, and gzip. Specifying both compression_codec and gzip_level in the same API request will result in an error.
Implementations§
source§impl LoggingGenericCommon
 
impl LoggingGenericCommon
pub fn new() -> LoggingGenericCommon
Trait Implementations§
source§impl Clone for LoggingGenericCommon
 
impl Clone for LoggingGenericCommon
source§fn clone(&self) -> LoggingGenericCommon
 
fn clone(&self) -> LoggingGenericCommon
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 LoggingGenericCommon
 
impl Debug for LoggingGenericCommon
source§impl Default for LoggingGenericCommon
 
impl Default for LoggingGenericCommon
source§fn default() -> LoggingGenericCommon
 
fn default() -> LoggingGenericCommon
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingGenericCommon
 
impl<'de> Deserialize<'de> for LoggingGenericCommon
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 LoggingGenericCommon
 
impl PartialEq for LoggingGenericCommon
source§fn eq(&self, other: &LoggingGenericCommon) -> bool
 
fn eq(&self, other: &LoggingGenericCommon) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for LoggingGenericCommon
 
impl Serialize for LoggingGenericCommon
impl StructuralPartialEq for LoggingGenericCommon
Auto Trait Implementations§
impl Freeze for LoggingGenericCommon
impl RefUnwindSafe for LoggingGenericCommon
impl Send for LoggingGenericCommon
impl Sync for LoggingGenericCommon
impl Unpin for LoggingGenericCommon
impl UnwindSafe for LoggingGenericCommon
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)