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 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 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
impl StructuralPartialEq for LoggingFormatVersionString
Auto Trait Implementations§
impl Freeze for LoggingFormatVersionString
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