pub struct LinkContent {
pub title: String,
pub text: String,
pub message_url: String,
pub pic_url: Option<String>,
}Fields§
§title: String§text: String§message_url: String§pic_url: Option<String>Trait Implementations§
Source§impl Debug for LinkContent
impl Debug for LinkContent
Source§impl<'de> Deserialize<'de> for LinkContent
impl<'de> Deserialize<'de> for LinkContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LinkContent
impl RefUnwindSafe for LinkContent
impl Send for LinkContent
impl Sync for LinkContent
impl Unpin for LinkContent
impl UnwindSafe for LinkContent
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