pub struct LineTextPattern {
pub template: String,
pub account_prefix: Option<String>,
}Expand description
Pattern for line text generation.
Fields§
§template: StringThe pattern template
account_prefix: Option<String>Account type prefix this applies to (e.g., “1” for assets, “5” for expenses)
Trait Implementations§
Source§impl Clone for LineTextPattern
impl Clone for LineTextPattern
Source§fn clone(&self) -> LineTextPattern
fn clone(&self) -> LineTextPattern
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 LineTextPattern
impl Debug for LineTextPattern
Source§impl<'de> Deserialize<'de> for LineTextPattern
impl<'de> Deserialize<'de> for LineTextPattern
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 LineTextPattern
impl RefUnwindSafe for LineTextPattern
impl Send for LineTextPattern
impl Sync for LineTextPattern
impl Unpin for LineTextPattern
impl UnwindSafe for LineTextPattern
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