pub struct BannerList {
pub banner_title: String,
pub banners: Vec<Banner>,
}
Fields§
Trait Implementations§
Source§impl Clone for BannerList
impl Clone for BannerList
Source§fn clone(&self) -> BannerList
fn clone(&self) -> BannerList
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 BannerList
impl Debug for BannerList
Source§impl Default for BannerList
impl Default for BannerList
Source§fn default() -> BannerList
fn default() -> BannerList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BannerList
impl<'de> Deserialize<'de> for BannerList
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
Source§impl<'a> MessageRead<'a> for BannerList
impl<'a> MessageRead<'a> for BannerList
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for BannerList
impl MessageWrite for BannerList
Source§impl PartialEq for BannerList
impl PartialEq for BannerList
Source§impl Serialize for BannerList
impl Serialize for BannerList
impl StructuralPartialEq for BannerList
Auto Trait Implementations§
impl Freeze for BannerList
impl RefUnwindSafe for BannerList
impl Send for BannerList
impl Sync for BannerList
impl Unpin for BannerList
impl UnwindSafe for BannerList
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