pub enum HelperAttributes {
String(String),
HelperClass(HelperClass),
}
Expand description
A helper may require a number of parameters to actually be helpful. The parameters used by the helper can be stored in this field, as an object. E.g when using Basic Authentication, the username and password will be stored here.
Variants§
String(String)
HelperClass(HelperClass)
Trait Implementations§
source§impl Clone for HelperAttributes
impl Clone for HelperAttributes
source§fn clone(&self) -> HelperAttributes
fn clone(&self) -> HelperAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HelperAttributes
impl Debug for HelperAttributes
source§impl<'de> Deserialize<'de> for HelperAttributes
impl<'de> Deserialize<'de> for HelperAttributes
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