Struct fastly_api::models::snippet::Snippet
source · pub struct Snippet {
pub name: Option<String>,
pub dynamic: Option<Dynamic>,
pub _type: Option<Type>,
pub content: Option<String>,
pub priority: Option<i32>,
}
Fields§
§name: Option<String>
The name for the snippet.
dynamic: Option<Dynamic>
Sets the snippet version.
_type: Option<Type>
The location in generated VCL where the snippet should be placed.
content: Option<String>
The VCL code that specifies exactly what the snippet does.
priority: Option<i32>
Priority determines execution order. Lower numbers execute first.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Snippet
impl<'de> Deserialize<'de> for Snippet
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