pub struct PluginOptions {
pub operating_currencies: Vec<String>,
pub title: Option<String>,
}Expand description
Ledger options passed to plugins.
Fields§
§operating_currencies: Vec<String>Operating currencies (from option "operating_currency" "USD").
title: Option<String>Ledger title (from option "title" "My Ledger").
Trait Implementations§
Source§impl Clone for PluginOptions
impl Clone for PluginOptions
Source§fn clone(&self) -> PluginOptions
fn clone(&self) -> PluginOptions
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 PluginOptions
impl Debug for PluginOptions
Source§impl Default for PluginOptions
impl Default for PluginOptions
Source§fn default() -> PluginOptions
fn default() -> PluginOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginOptions
impl<'de> Deserialize<'de> for PluginOptions
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 PluginOptions
impl RefUnwindSafe for PluginOptions
impl Send for PluginOptions
impl Sync for PluginOptions
impl Unpin for PluginOptions
impl UnsafeUnpin for PluginOptions
impl UnwindSafe for PluginOptions
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