pub struct FormatParam {
pub expr: Box<GrassIR>,
pub fmt_str: String,
pub values: BTreeMap<String, FieldExpression>,
}Fields§
§expr: Box<GrassIR>The expression to be formatted
fmt_str: StringThe formatting string
values: BTreeMap<String, FieldExpression>The value referred by the formatting string
Trait Implementations§
Source§impl Clone for FormatParam
impl Clone for FormatParam
Source§fn clone(&self) -> FormatParam
fn clone(&self) -> FormatParam
Returns a duplicate 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 FormatParam
impl Debug for FormatParam
Source§impl<'de> Deserialize<'de> for FormatParam
impl<'de> Deserialize<'de> for FormatParam
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
Auto Trait Implementations§
impl Freeze for FormatParam
impl RefUnwindSafe for FormatParam
impl Send for FormatParam
impl Sync for FormatParam
impl Unpin for FormatParam
impl UnwindSafe for FormatParam
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