pub struct QuoteArea {
pub type: Option<u8>,
pub url: Option<String>,
pub appid: Option<String>,
pub pagepath: Option<String>,
pub title: Option<String>,
pub quote_text: Option<String>,
}Expand description
引用文献样式
Fields§
§type: Option<u8>非必填 引用文献样式区域点击事件,0或不填代表没有点击事件,1 代表跳转url,2 代表跳转小程序
url: Option<String>点击跳转的url,quote_area.type是1时必填
appid: Option<String>点击跳转的小程序的appid,必须是与当前应用关联的小程序,quote_area.type是2时必填
pagepath: Option<String>点击跳转的小程序的pagepath,quote_area.type是2时选填
title: Option<String>引用文献样式的标题
quote_text: Option<String>引用文献样式的引用文案
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuoteArea
impl<'de> Deserialize<'de> for QuoteArea
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 QuoteArea
impl RefUnwindSafe for QuoteArea
impl Send for QuoteArea
impl Sync for QuoteArea
impl Unpin for QuoteArea
impl UnwindSafe for QuoteArea
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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