pub struct ProfileInfo {
pub email: String,
pub domains: Vec<String>,
}Expand description
Profile information (user profile with domains)
Represents a user profile with associated domains.
§Example
use data_modelling_core::workspace::ProfileInfo;
let profile = ProfileInfo {
email: "user@example.com".to_string(),
domains: vec!["finance".to_string(), "risk".to_string()],
};Fields§
§email: StringUser email address
domains: Vec<String>List of domain names associated with this profile
Trait Implementations§
Source§impl Clone for ProfileInfo
impl Clone for ProfileInfo
Source§fn clone(&self) -> ProfileInfo
fn clone(&self) -> ProfileInfo
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 ProfileInfo
impl Debug for ProfileInfo
Source§impl<'de> Deserialize<'de> for ProfileInfo
impl<'de> Deserialize<'de> for ProfileInfo
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 ProfileInfo
impl PartialEq for ProfileInfo
Source§impl Serialize for ProfileInfo
impl Serialize for ProfileInfo
impl Eq for ProfileInfo
impl StructuralPartialEq for ProfileInfo
Auto Trait Implementations§
impl Freeze for ProfileInfo
impl RefUnwindSafe for ProfileInfo
impl Send for ProfileInfo
impl Sync for ProfileInfo
impl Unpin for ProfileInfo
impl UnwindSafe for ProfileInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.