pub struct TemplateCardMessage {
pub card: NoticeCard,
pub source: Option<CardSource>,
pub main_title: Option<MainTitle>,
pub quote_area: Option<QuoteArea>,
pub horizontal_content_list: Option<Vec<HorizontalContent>>,
pub jump_list: Option<Vec<Jump>>,
pub card_action: Option<CardAction>,
}
Expand description
模板卡片消息定义
Fields§
§card: NoticeCard
§source: Option<CardSource>
§main_title: Option<MainTitle>
§quote_area: Option<QuoteArea>
§horizontal_content_list: Option<Vec<HorizontalContent>>
§jump_list: Option<Vec<Jump>>
§card_action: Option<CardAction>
Trait Implementations§
Source§impl Clone for TemplateCardMessage
impl Clone for TemplateCardMessage
Source§fn clone(&self) -> TemplateCardMessage
fn clone(&self) -> TemplateCardMessage
Returns a copy 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 TemplateCardMessage
impl Debug for TemplateCardMessage
Auto Trait Implementations§
impl Freeze for TemplateCardMessage
impl RefUnwindSafe for TemplateCardMessage
impl Send for TemplateCardMessage
impl Sync for TemplateCardMessage
impl Unpin for TemplateCardMessage
impl UnwindSafe for TemplateCardMessage
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