pub struct LoggingGenericCommonResponse {
pub message_type: Option<MessageType>,
pub timestamp_format: Option<String>,
pub compression_codec: Option<CompressionCodec>,
pub period: Option<String>,
pub gzip_level: Option<String>,
}
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.
period: Option<String>
How frequently log files are finalized so they can be available for reading (in seconds).
gzip_level: Option<String>
The level of gzip encoding when sending logs (default 0
, no compression). Specifying both compression_codec
and gzip_level
in the same API request will result in an error.
Implementations§
Source§impl LoggingGenericCommonResponse
impl LoggingGenericCommonResponse
pub fn new() -> LoggingGenericCommonResponse
Trait Implementations§
Source§impl Clone for LoggingGenericCommonResponse
impl Clone for LoggingGenericCommonResponse
Source§fn clone(&self) -> LoggingGenericCommonResponse
fn clone(&self) -> LoggingGenericCommonResponse
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 LoggingGenericCommonResponse
impl Debug for LoggingGenericCommonResponse
Source§impl Default for LoggingGenericCommonResponse
impl Default for LoggingGenericCommonResponse
Source§fn default() -> LoggingGenericCommonResponse
fn default() -> LoggingGenericCommonResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingGenericCommonResponse
impl<'de> Deserialize<'de> for LoggingGenericCommonResponse
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 LoggingGenericCommonResponse
impl PartialEq for LoggingGenericCommonResponse
Source§fn eq(&self, other: &LoggingGenericCommonResponse) -> bool
fn eq(&self, other: &LoggingGenericCommonResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LoggingGenericCommonResponse
Auto Trait Implementations§
impl Freeze for LoggingGenericCommonResponse
impl RefUnwindSafe for LoggingGenericCommonResponse
impl Send for LoggingGenericCommonResponse
impl Sync for LoggingGenericCommonResponse
impl Unpin for LoggingGenericCommonResponse
impl UnwindSafe for LoggingGenericCommonResponse
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