Enum upcake::RequestData [−][src]
Expand description
The representation of the data to send with the request
Variants
StringValue(String)
A string containing template data
Tuple Fields of StringValue
0: String
FilePath(String)
A file to be read and rendered when the request is executed
Tuple Fields of FilePath
0: String
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for RequestData
impl Send for RequestData
impl Sync for RequestData
impl Unpin for RequestData
impl UnwindSafe for RequestData
Blanket Implementations
Mutably borrows from an owned value. Read more