pub struct ProfileSnapshot {
pub active_profile_id: Option<String>,
pub active_profile: Option<Profile>,
pub profiles: Vec<Profile>,
}Expand description
In-memory profile snapshot used by UI callers that need account state.
Fields§
§active_profile_id: Option<String>§active_profile: Option<Profile>§profiles: Vec<Profile>Trait Implementations§
Source§impl Clone for ProfileSnapshot
impl Clone for ProfileSnapshot
Source§fn clone(&self) -> ProfileSnapshot
fn clone(&self) -> ProfileSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProfileSnapshot
impl Debug for ProfileSnapshot
Source§impl Default for ProfileSnapshot
impl Default for ProfileSnapshot
Source§fn default() -> ProfileSnapshot
fn default() -> ProfileSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProfileSnapshot
impl RefUnwindSafe for ProfileSnapshot
impl Send for ProfileSnapshot
impl Sync for ProfileSnapshot
impl Unpin for ProfileSnapshot
impl UnsafeUnpin for ProfileSnapshot
impl UnwindSafe for ProfileSnapshot
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