pub enum ParameterFormat {
Positional,
Named,
Positional2,
Named2,
}Expand description
Variable style: POSITIONAL ({{1}}, the default) or NAMED ({{customer_name}}). Named templates provide examples via body_text_named_params / header_text_named_params. Inferred as NAMED when omitted but a named-params example is present.
Variants§
Trait Implementations§
Source§impl Clone for ParameterFormat
impl Clone for ParameterFormat
Source§fn clone(&self) -> ParameterFormat
fn clone(&self) -> ParameterFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParameterFormat
Source§impl Debug for ParameterFormat
impl Debug for ParameterFormat
Source§impl Default for ParameterFormat
impl Default for ParameterFormat
Source§fn default() -> ParameterFormat
fn default() -> ParameterFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParameterFormat
impl<'de> Deserialize<'de> for ParameterFormat
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
impl Eq for ParameterFormat
Source§impl Hash for ParameterFormat
impl Hash for ParameterFormat
Source§impl Ord for ParameterFormat
impl Ord for ParameterFormat
Source§fn cmp(&self, other: &ParameterFormat) -> Ordering
fn cmp(&self, other: &ParameterFormat) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParameterFormat
impl PartialEq for ParameterFormat
Source§impl PartialOrd for ParameterFormat
impl PartialOrd for ParameterFormat
Source§impl Serialize for ParameterFormat
impl Serialize for ParameterFormat
impl StructuralPartialEq for ParameterFormat
Auto Trait Implementations§
impl Freeze for ParameterFormat
impl RefUnwindSafe for ParameterFormat
impl Send for ParameterFormat
impl Sync for ParameterFormat
impl Unpin for ParameterFormat
impl UnsafeUnpin for ParameterFormat
impl UnwindSafe for ParameterFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more