Struct fastly_api::models::logging_https_all_of::LoggingHttpsAllOf
source · pub struct LoggingHttpsAllOf {
pub url: Option<String>,
pub request_max_entries: Option<i32>,
pub request_max_bytes: Option<i32>,
pub content_type: Option<String>,
pub header_name: Option<String>,
pub message_type: Option<LoggingMessageType>,
pub header_value: Option<String>,
pub method: Option<Method>,
pub json_format: Option<JsonFormat>,
pub format: Option<String>,
}
Fields§
§url: Option<String>
The URL to send logs to. Must use HTTPS. Required.
request_max_entries: Option<i32>
The maximum number of logs sent in one request. Defaults 0
(10k).
request_max_bytes: Option<i32>
The maximum number of bytes sent in one request. Defaults 0
(100MB).
content_type: Option<String>
Content type of the header sent with the request.
header_name: Option<String>
Name of the custom header sent with the request.
message_type: Option<LoggingMessageType>
§header_value: Option<String>
Value of the custom header sent with the request.
method: Option<Method>
HTTP method used for request.
json_format: Option<JsonFormat>
Enforces valid JSON formatting for log entries.
format: Option<String>
A Fastly log format string.
Implementations§
source§impl LoggingHttpsAllOf
impl LoggingHttpsAllOf
pub fn new() -> LoggingHttpsAllOf
Trait Implementations§
source§impl Clone for LoggingHttpsAllOf
impl Clone for LoggingHttpsAllOf
source§fn clone(&self) -> LoggingHttpsAllOf
fn clone(&self) -> LoggingHttpsAllOf
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 LoggingHttpsAllOf
impl Debug for LoggingHttpsAllOf
source§impl Default for LoggingHttpsAllOf
impl Default for LoggingHttpsAllOf
source§fn default() -> LoggingHttpsAllOf
fn default() -> LoggingHttpsAllOf
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingHttpsAllOf
impl<'de> Deserialize<'de> for LoggingHttpsAllOf
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<LoggingHttpsAllOf> for LoggingHttpsAllOf
impl PartialEq<LoggingHttpsAllOf> for LoggingHttpsAllOf
source§fn eq(&self, other: &LoggingHttpsAllOf) -> bool
fn eq(&self, other: &LoggingHttpsAllOf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LoggingHttpsAllOf
impl Serialize for LoggingHttpsAllOf
impl StructuralPartialEq for LoggingHttpsAllOf
Auto Trait Implementations§
impl RefUnwindSafe for LoggingHttpsAllOf
impl Send for LoggingHttpsAllOf
impl Sync for LoggingHttpsAllOf
impl Unpin for LoggingHttpsAllOf
impl UnwindSafe for LoggingHttpsAllOf
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