pub struct User(/* private fields */);
Expand description
Implementations§
Source§impl User
impl User
Sourcepub fn discriminator(&self) -> &str
pub fn discriminator(&self) -> &str
The four digit unique discriminator, often attached to a #
Sourcepub fn image_handle(&self, size: u32) -> ImageHandle
pub fn image_handle(&self, size: u32) -> ImageHandle
Create an Image Handle targeting the user’s avatar
Trait Implementations§
impl Eq for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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