pub struct Profile<S: AsRef<str>> {
pub id_tag: S,
pub name: S,
pub typ: ProfileType,
pub profile_pic: Option<S>,
pub following: bool,
pub connected: ProfileConnectionStatus,
pub roles: Option<Box<[Box<str>]>>,
}Fields§
§id_tag: S§name: S§typ: ProfileType§profile_pic: Option<S>§following: bool§connected: ProfileConnectionStatus§roles: Option<Box<[Box<str>]>>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Profile<S>where
S: Freeze,
impl<S> RefUnwindSafe for Profile<S>where
S: RefUnwindSafe,
impl<S> Send for Profile<S>where
S: Send,
impl<S> Sync for Profile<S>where
S: Sync,
impl<S> Unpin for Profile<S>where
S: Unpin,
impl<S> UnsafeUnpin for Profile<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Profile<S>where
S: UnwindSafe,
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