pub struct SlackUserInit {
pub id: SlackUserId,
pub flags: SlackUserFlags,
}Expand description
Required fields of SlackUser; convert with SlackUser::from or .into().
Fields§
§id: SlackUserIdValue for the id field of SlackUser.
flags: SlackUserFlagsValue for the flags field of SlackUser.
Trait Implementations§
Source§impl From<SlackUserInit> for SlackUser
impl From<SlackUserInit> for SlackUser
Source§fn from(value: SlackUserInit) -> Self
fn from(value: SlackUserInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackUserInit
impl RefUnwindSafe for SlackUserInit
impl Send for SlackUserInit
impl Sync for SlackUserInit
impl Unpin for SlackUserInit
impl UnsafeUnpin for SlackUserInit
impl UnwindSafe for SlackUserInit
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