pub struct Tenant<S: AsRef<str>> {
pub tn_id: TnId,
pub id_tag: S,
pub name: S,
pub typ: ProfileType,
pub profile_pic: Option<S>,
pub cover_pic: Option<S>,
pub created_at: Timestamp,
pub x: HashMap<S, S>,
}Fields§
§tn_id: TnId§id_tag: S§name: S§typ: ProfileType§profile_pic: Option<S>§cover_pic: Option<S>§created_at: Timestamp§x: HashMap<S, S>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Tenant<S>where
S: Freeze,
impl<S> RefUnwindSafe for Tenant<S>where
S: RefUnwindSafe,
impl<S> Send for Tenant<S>where
S: Send,
impl<S> Sync for Tenant<S>where
S: Sync,
impl<S> Unpin for Tenant<S>where
S: Unpin,
impl<S> UnsafeUnpin for Tenant<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Tenant<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