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 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 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<LoggingGenericCommonResponse> for LoggingGenericCommonResponse
impl PartialEq<LoggingGenericCommonResponse> for LoggingGenericCommonResponse
source§fn eq(&self, other: &LoggingGenericCommonResponse) -> bool
fn eq(&self, other: &LoggingGenericCommonResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingGenericCommonResponse
Auto Trait Implementations§
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