Struct fastly_api::models::condition::Condition
source · pub struct Condition {
pub comment: Option<String>,
pub name: Option<String>,
pub priority: Option<String>,
pub statement: Option<String>,
pub service_id: Option<Box<String>>,
pub version: Option<String>,
pub _type: Option<Type>,
}Fields§
§comment: Option<String>A freeform descriptive note.
name: Option<String>Name of the condition. Required.
priority: Option<String>A numeric string. Priority determines execution order. Lower numbers execute first.
statement: Option<String>A conditional expression in VCL used to determine if the condition is met.
service_id: Option<Box<String>>§version: Option<String>A numeric string that represents the service version.
_type: Option<Type>Type of the condition. Required.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Condition
impl<'de> Deserialize<'de> for Condition
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