Struct fastly_api::models::logging_generic_common_response_all_of::LoggingGenericCommonResponseAllOf
source · pub struct LoggingGenericCommonResponseAllOf {
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§
Trait Implementations§
source§impl Clone for LoggingGenericCommonResponseAllOf
impl Clone for LoggingGenericCommonResponseAllOf
source§fn clone(&self) -> LoggingGenericCommonResponseAllOf
fn clone(&self) -> LoggingGenericCommonResponseAllOf
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 Default for LoggingGenericCommonResponseAllOf
impl Default for LoggingGenericCommonResponseAllOf
source§fn default() -> LoggingGenericCommonResponseAllOf
fn default() -> LoggingGenericCommonResponseAllOf
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingGenericCommonResponseAllOf
impl<'de> Deserialize<'de> for LoggingGenericCommonResponseAllOf
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<LoggingGenericCommonResponseAllOf> for LoggingGenericCommonResponseAllOf
impl PartialEq<LoggingGenericCommonResponseAllOf> for LoggingGenericCommonResponseAllOf
source§fn eq(&self, other: &LoggingGenericCommonResponseAllOf) -> bool
fn eq(&self, other: &LoggingGenericCommonResponseAllOf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingGenericCommonResponseAllOf
Auto Trait Implementations§
impl RefUnwindSafe for LoggingGenericCommonResponseAllOf
impl Send for LoggingGenericCommonResponseAllOf
impl Sync for LoggingGenericCommonResponseAllOf
impl Unpin for LoggingGenericCommonResponseAllOf
impl UnwindSafe for LoggingGenericCommonResponseAllOf
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