[−][src]Struct slack_hook2::SlackUserLink
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: String
User ID (U1231232123) style
Methods
impl SlackUserLink
[src]
pub fn new(uid: &str) -> SlackUserLink
[src]
Construct new SlackUserLink
with a string slice
Trait Implementations
impl Clone for SlackUserLink
[src]
fn clone(&self) -> SlackUserLink
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackUserLink
[src]
impl Display for SlackUserLink
[src]
impl PartialEq<SlackUserLink> for SlackUserLink
[src]
fn eq(&self, other: &SlackUserLink) -> bool
[src]
fn ne(&self, other: &SlackUserLink) -> bool
[src]
impl PartialOrd<SlackUserLink> for SlackUserLink
[src]
fn partial_cmp(&self, other: &SlackUserLink) -> Option<Ordering>
[src]
fn lt(&self, other: &SlackUserLink) -> bool
[src]
fn le(&self, other: &SlackUserLink) -> bool
[src]
fn gt(&self, other: &SlackUserLink) -> bool
[src]
fn ge(&self, other: &SlackUserLink) -> bool
[src]
impl Serialize for SlackUserLink
[src]
impl StructuralPartialEq for SlackUserLink
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackUserLink
impl Send for SlackUserLink
impl Sync for SlackUserLink
impl Unpin for SlackUserLink
impl UnwindSafe for SlackUserLink
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,