pub struct SlackLink {
pub url: String,
pub text: SlackText,
}Expand description
Representation of a link sent in slack
Fields§
§url: StringURL for link.
NOTE: this is NOT a Url type because some of the slack “urls”, don’t conform to standard
url parsing scheme, which are enforced by the url crate.
text: SlackTextAnchor text for link
Implementations§
Trait Implementations§
impl StructuralPartialEq for SlackLink
Auto Trait Implementations§
impl Freeze for SlackLink
impl RefUnwindSafe for SlackLink
impl Send for SlackLink
impl Sync for SlackLink
impl Unpin for SlackLink
impl UnwindSafe for SlackLink
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