pub struct ProfilesData {
pub active_profile: Option<String>,
pub profiles: HashMap<String, ProfileConfig>,
}Expand description
Profiles data containing all profiles and active profile name
Fields§
§active_profile: Option<String>§profiles: HashMap<String, ProfileConfig>Trait Implementations§
Source§impl Clone for ProfilesData
impl Clone for ProfilesData
Source§fn clone(&self) -> ProfilesData
fn clone(&self) -> ProfilesData
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 ProfilesData
impl Debug for ProfilesData
Source§impl Default for ProfilesData
impl Default for ProfilesData
Source§fn default() -> ProfilesData
fn default() -> ProfilesData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfilesData
impl<'de> Deserialize<'de> for ProfilesData
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 ProfilesData
impl RefUnwindSafe for ProfilesData
impl Send for ProfilesData
impl Sync for ProfilesData
impl Unpin for ProfilesData
impl UnsafeUnpin for ProfilesData
impl UnwindSafe for ProfilesData
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