pub struct SlackUserLink {
pub uid: String,
}Expand description
Representation of a user id link sent in slack
Cannot do @UGUID|handle links using SlackLink in the future due to https://api.slack.com/changelog/2017-09-the-one-about-usernames
Fields§
§uid: StringUser ID (U1231232123) style
Implementations§
Source§impl SlackUserLink
impl SlackUserLink
Sourcepub fn new(uid: &str) -> SlackUserLink
pub fn new(uid: &str) -> SlackUserLink
Construct new SlackUserLink with a string slice
Trait Implementations§
Source§impl Clone for SlackUserLink
impl Clone for SlackUserLink
Source§fn clone(&self) -> SlackUserLink
fn clone(&self) -> SlackUserLink
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlackUserLink
impl Debug for SlackUserLink
Source§impl Display for SlackUserLink
impl Display for SlackUserLink
Source§impl PartialEq for SlackUserLink
impl PartialEq for SlackUserLink
Source§impl PartialOrd for SlackUserLink
impl PartialOrd for SlackUserLink
Source§impl Serialize for SlackUserLink
impl Serialize for SlackUserLink
impl StructuralPartialEq for SlackUserLink
Auto Trait Implementations§
impl Freeze for SlackUserLink
impl RefUnwindSafe for SlackUserLink
impl Send for SlackUserLink
impl Sync for SlackUserLink
impl Unpin for SlackUserLink
impl UnwindSafe for SlackUserLink
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