pub struct DynamicBanner {
pub banner_id: u64,
pub end_time: u64,
pub img_url: String,
pub link: String,
pub platform: u64,
pub position: String,
pub start_time: u64,
pub title: String,
pub weight: u64,
}Expand description
动态横幅数据
Fields§
横幅 ID
end_time: u64结束时间(UNIX 秒级时间戳)
img_url: String图片 URL
link: String跳转链接
platform: u64平台
position: String位置
start_time: u64开始时间(UNIX 秒级时间戳)
title: String标题
weight: u64权重
Trait Implementations§
Source§impl Clone for DynamicBanner
impl Clone for DynamicBanner
Source§fn clone(&self) -> DynamicBanner
fn clone(&self) -> DynamicBanner
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 DynamicBanner
impl Debug for DynamicBanner
Source§impl<'de> Deserialize<'de> for DynamicBanner
impl<'de> Deserialize<'de> for DynamicBanner
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 DynamicBanner
impl RefUnwindSafe for DynamicBanner
impl Send for DynamicBanner
impl Sync for DynamicBanner
impl Unpin for DynamicBanner
impl UnwindSafe for DynamicBanner
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