pub struct RegionBanner {
pub image: String,
pub title: String,
pub sub_title: String,
pub url: String,
pub rid: i64,
}Expand description
轮播图对象
Fields§
§image: String§title: String§sub_title: String§url: String§rid: i64Trait Implementations§
Source§impl Clone for RegionBanner
impl Clone for RegionBanner
Source§fn clone(&self) -> RegionBanner
fn clone(&self) -> RegionBanner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegionBanner
impl Debug for RegionBanner
Source§impl<'de> Deserialize<'de> for RegionBanner
impl<'de> Deserialize<'de> for RegionBanner
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 RegionBanner
impl RefUnwindSafe for RegionBanner
impl Send for RegionBanner
impl Sync for RegionBanner
impl Unpin for RegionBanner
impl UnsafeUnpin for RegionBanner
impl UnwindSafe for RegionBanner
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