pub struct LinkShare {
    pub title: String,
    pub summary: Option<String>,
    pub brief: Option<String>,
    pub picture_url: Option<String>,
    pub url: String,
}

Fields§

§title: String§summary: Option<String>§brief: Option<String>

从消息列表中看到的文字,默认为 “[分享]” + title

§picture_url: Option<String>

预览图网址, 默认为 QQ 浏览器图标,似乎对域名有限制

§url: String

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.