pub struct UserMethods<'a> { /* private fields */ }Expand description
User journey stage methods.
Implementations§
Source§impl<'a> UserMethods<'a>
impl<'a> UserMethods<'a>
Sourcepub fn activate(&self, identity: impl Into<Email>) -> SendableStage<'a>
pub fn activate(&self, identity: impl Into<Email>) -> SendableStage<'a>
Mark user as activated.
Sourcepub fn activate_by_user_id(
&self,
identity: impl Into<UserId>,
) -> SendableStage<'a>
pub fn activate_by_user_id( &self, identity: impl Into<UserId>, ) -> SendableStage<'a>
Mark user as activated by user_id.
Sourcepub fn activate_by_fingerprint(
&self,
identity: impl Into<Fingerprint>,
) -> SendableStage<'a>
pub fn activate_by_fingerprint( &self, identity: impl Into<Fingerprint>, ) -> SendableStage<'a>
Mark user as activated by fingerprint.
Sourcepub fn engaged(&self, identity: impl Into<Email>) -> SendableStage<'a>
pub fn engaged(&self, identity: impl Into<Email>) -> SendableStage<'a>
Mark user as engaged.
Sourcepub fn engaged_by_user_id(
&self,
identity: impl Into<UserId>,
) -> SendableStage<'a>
pub fn engaged_by_user_id( &self, identity: impl Into<UserId>, ) -> SendableStage<'a>
Mark user as engaged by user_id.
Sourcepub fn engaged_by_fingerprint(
&self,
identity: impl Into<Fingerprint>,
) -> SendableStage<'a>
pub fn engaged_by_fingerprint( &self, identity: impl Into<Fingerprint>, ) -> SendableStage<'a>
Mark user as engaged by fingerprint.
Sourcepub fn inactive(&self, identity: impl Into<Email>) -> SendableStage<'a>
pub fn inactive(&self, identity: impl Into<Email>) -> SendableStage<'a>
Mark user as inactive.
Sourcepub fn inactive_by_user_id(
&self,
identity: impl Into<UserId>,
) -> SendableStage<'a>
pub fn inactive_by_user_id( &self, identity: impl Into<UserId>, ) -> SendableStage<'a>
Mark user as inactive by user_id.
Sourcepub fn inactive_by_fingerprint(
&self,
identity: impl Into<Fingerprint>,
) -> SendableStage<'a>
pub fn inactive_by_fingerprint( &self, identity: impl Into<Fingerprint>, ) -> SendableStage<'a>
Mark user as inactive by fingerprint.
Auto Trait Implementations§
impl<'a> Freeze for UserMethods<'a>
impl<'a> !RefUnwindSafe for UserMethods<'a>
impl<'a> Send for UserMethods<'a>
impl<'a> Sync for UserMethods<'a>
impl<'a> Unpin for UserMethods<'a>
impl<'a> !UnwindSafe for UserMethods<'a>
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