struct InnerConfig {
pub selected_account: u32,
pub next_id: u32,
pub accounts: Vec<AccountConfig>,
}
Expand description
Account manager configuration file contents.
This is serialized into TOML.
Fields§
§selected_account: u32
The currently selected account.
next_id: u32
§accounts: Vec<AccountConfig>
Trait Implementations§
source§impl Clone for InnerConfig
impl Clone for InnerConfig
source§fn clone(&self) -> InnerConfig
fn clone(&self) -> InnerConfig
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 InnerConfig
impl Debug for InnerConfig
source§impl<'de> Deserialize<'de> for InnerConfig
impl<'de> Deserialize<'de> for InnerConfig
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
source§impl PartialEq for InnerConfig
impl PartialEq for InnerConfig
source§impl Serialize for InnerConfig
impl Serialize for InnerConfig
impl StructuralPartialEq for InnerConfig
Auto Trait Implementations§
impl Freeze for InnerConfig
impl RefUnwindSafe for InnerConfig
impl Send for InnerConfig
impl Sync for InnerConfig
impl Unpin for InnerConfig
impl UnwindSafe for InnerConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)