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 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 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§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