pub struct LoggingCommon {
pub name: Option<String>,
pub placement: Option<Placement>,
pub response_condition: Option<String>,
pub format: Option<String>,
}
Fields§
§name: Option<String>
The name for the real-time logging configuration.
placement: Option<Placement>
Where in the generated VCL the logging call should be placed. If not set, endpoints with format_version
of 2 are placed in vcl_log
and those with format_version
of 1 are placed in vcl_deliver
.
response_condition: Option<String>
The name of an existing condition in the configured endpoint, or leave blank to always execute.
format: Option<String>
A Fastly log format string.
Implementations§
Source§impl LoggingCommon
impl LoggingCommon
pub fn new() -> LoggingCommon
Trait Implementations§
Source§impl Clone for LoggingCommon
impl Clone for LoggingCommon
Source§fn clone(&self) -> LoggingCommon
fn clone(&self) -> LoggingCommon
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 LoggingCommon
impl Debug for LoggingCommon
Source§impl Default for LoggingCommon
impl Default for LoggingCommon
Source§fn default() -> LoggingCommon
fn default() -> LoggingCommon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingCommon
impl<'de> Deserialize<'de> for LoggingCommon
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 LoggingCommon
impl PartialEq for LoggingCommon
Source§impl Serialize for LoggingCommon
impl Serialize for LoggingCommon
impl StructuralPartialEq for LoggingCommon
Auto Trait Implementations§
impl Freeze for LoggingCommon
impl RefUnwindSafe for LoggingCommon
impl Send for LoggingCommon
impl Sync for LoggingCommon
impl Unpin for LoggingCommon
impl UnwindSafe for LoggingCommon
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