pub struct LinkMessage {
pub title: String,
pub description: String,
pub url: String,
pub thumb_url: String,
}Expand description
Link message content
Fields§
§title: StringLink title
description: StringLink description
url: StringLink URL
thumb_url: StringThumbnail URL
Implementations§
Trait Implementations§
Source§impl Clone for LinkMessage
impl Clone for LinkMessage
Source§fn clone(&self) -> LinkMessage
fn clone(&self) -> LinkMessage
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 LinkMessage
impl Debug for LinkMessage
Auto Trait Implementations§
impl Freeze for LinkMessage
impl RefUnwindSafe for LinkMessage
impl Send for LinkMessage
impl Sync for LinkMessage
impl Unpin for LinkMessage
impl UnsafeUnpin for LinkMessage
impl UnwindSafe for LinkMessage
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