pub struct LoggingFormatVersionString {
pub format_version: Option<FormatVersion>,
}
Fields§
§format_version: Option<FormatVersion>
The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log
if format_version
is set to 2
and in vcl_deliver
if format_version
is set to 1
.
Implementations§
source§impl LoggingFormatVersionString
impl LoggingFormatVersionString
pub fn new() -> LoggingFormatVersionString
Trait Implementations§
source§impl Clone for LoggingFormatVersionString
impl Clone for LoggingFormatVersionString
source§fn clone(&self) -> LoggingFormatVersionString
fn clone(&self) -> LoggingFormatVersionString
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 LoggingFormatVersionString
impl Debug for LoggingFormatVersionString
source§impl Default for LoggingFormatVersionString
impl Default for LoggingFormatVersionString
source§fn default() -> LoggingFormatVersionString
fn default() -> LoggingFormatVersionString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingFormatVersionString
impl<'de> Deserialize<'de> for LoggingFormatVersionString
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<LoggingFormatVersionString> for LoggingFormatVersionString
impl PartialEq<LoggingFormatVersionString> for LoggingFormatVersionString
source§fn eq(&self, other: &LoggingFormatVersionString) -> bool
fn eq(&self, other: &LoggingFormatVersionString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingFormatVersionString
Auto Trait Implementations§
impl RefUnwindSafe for LoggingFormatVersionString
impl Send for LoggingFormatVersionString
impl Sync for LoggingFormatVersionString
impl Unpin for LoggingFormatVersionString
impl UnwindSafe for LoggingFormatVersionString
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