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 last_seen_at: Option<Timestamp>,
pub notify_email_direct_at: Option<Timestamp>,
pub notify_email_engagement_at: Option<Timestamp>,
pub notify_email_social_at: Option<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§last_seen_at: Option<Timestamp>Presence: stamped when the tenant’s last ws-bus connection closes.
notify_email_direct_at: Option<Timestamp>Offline-throttle watermark for the ‘direct’ group (MSG/CONN/FSHR).
notify_email_engagement_at: Option<Timestamp>Offline-throttle watermark for the ‘engagement’ group (CMNT/REACT).
Offline-throttle watermark for the ‘social’ group (FLLW/POST).
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