pub struct Vcl {
pub content: Option<String>,
pub main: Option<bool>,
pub name: Option<String>,
}
Fields§
§content: Option<String>
The VCL code to be included.
main: Option<bool>
Set to true
when this is the main VCL, otherwise false
.
name: Option<String>
The name of this VCL.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vcl
impl<'de> Deserialize<'de> for Vcl
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 Vcl
Auto Trait Implementations§
impl Freeze for Vcl
impl RefUnwindSafe for Vcl
impl Send for Vcl
impl Sync for Vcl
impl Unpin for Vcl
impl UnwindSafe for Vcl
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