pub struct RemoteUser { /* private fields */ }
Implementations§
source§impl RemoteUser
impl RemoteUser
sourcepub fn set_username<U: BnStrCompatible>(&self, username: U) -> Result<(), ()>
pub fn set_username<U: BnStrCompatible>(&self, username: U) -> Result<(), ()>
Set user’s username. You will need to push the user to update the Remote
sourcepub fn set_email<U: BnStrCompatible>(&self, email: U) -> Result<(), ()>
pub fn set_email<U: BnStrCompatible>(&self, email: U) -> Result<(), ()>
Set user’s email. You will need to push the user to update the Remote
sourcepub fn last_login(&self) -> BnString
pub fn last_login(&self) -> BnString
String representing the last date the user logged in
Trait Implementations§
source§impl CoreArrayProvider for RemoteUser
impl CoreArrayProvider for RemoteUser
source§impl PartialEq for RemoteUser
impl PartialEq for RemoteUser
source§impl ToOwned for RemoteUser
impl ToOwned for RemoteUser
source§type Owned = Ref<RemoteUser>
type Owned = Ref<RemoteUser>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for RemoteUser
Auto Trait Implementations§
impl Freeze for RemoteUser
impl RefUnwindSafe for RemoteUser
impl !Send for RemoteUser
impl !Sync for RemoteUser
impl Unpin for RemoteUser
impl UnwindSafe for RemoteUser
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