pub struct Builder<T>(/* private fields */);Expand description
A builder for OrgUserLoginActivity
Implementations§
Source§impl Builder<UserRidStage>
impl Builder<UserRidStage>
Sourcepub fn user_rid(self, user_rid: UserRid) -> Builder<OrgRidStage>
pub fn user_rid(self, user_rid: UserRid) -> Builder<OrgRidStage>
Sets the user_rid field.
Source§impl Builder<OrgRidStage>
impl Builder<OrgRidStage>
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn last_login_at(
self,
last_login_at: impl Into<Option<DateTime<Utc>>>,
) -> Self
pub fn last_login_at( self, last_login_at: impl Into<Option<DateTime<Utc>>>, ) -> Self
Sets the last_login_at field.
Sourcepub fn build(self) -> OrgUserLoginActivity
pub fn build(self) -> OrgUserLoginActivity
Consumes the builder, returning a OrgUserLoginActivity.
Trait Implementations§
Source§impl Default for Builder<UserRidStage>
impl Default for Builder<UserRidStage>
Source§impl From<OrgUserLoginActivity> for Builder<Complete>
impl From<OrgUserLoginActivity> for Builder<Complete>
Source§fn from(v: OrgUserLoginActivity) -> Self
fn from(v: OrgUserLoginActivity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnsafeUnpin for Builder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Builder<T>where
T: 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