Struct postman_collection::v1_0_0::Event
source · pub struct Event {
pub disabled: Option<bool>,
pub id: Option<String>,
pub listen: String,
pub script: Option<Script>,
}
Expand description
Defines a script associated with an associated event name
Fields§
§disabled: Option<bool>
Indicates whether the event is disabled. If absent, the event is assumed to be enabled.
id: Option<String>
A unique identifier for the enclosing event.
listen: String
Can be set to test
or prerequest
for test scripts or pre-request scripts respectively.
script: Option<Script>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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