Struct g_rust::extension::parsers::subparsers::PromoArticleData
source · pub struct PromoArticleData {
pub id: LegacyId,
pub title: String,
pub body_text: String,
pub button_text: String,
pub link_type: i32,
pub link_content: String,
pub image_url: String,
}
Fields§
§id: LegacyId
§title: String
§body_text: String
§link_type: i32
§link_content: String
§image_url: String
Trait Implementations§
source§impl Clone for PromoArticleData
impl Clone for PromoArticleData
source§fn clone(&self) -> PromoArticleData
fn clone(&self) -> PromoArticleData
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 PromoArticleData
impl Debug for PromoArticleData
source§impl Default for PromoArticleData
impl Default for PromoArticleData
source§fn default() -> PromoArticleData
fn default() -> PromoArticleData
Returns the “default value” for a type. Read more
source§impl PacketVariable for PromoArticleData
impl PacketVariable for PromoArticleData
source§impl PartialEq<PromoArticleData> for PromoArticleData
impl PartialEq<PromoArticleData> for PromoArticleData
source§fn eq(&self, other: &PromoArticleData) -> bool
fn eq(&self, other: &PromoArticleData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PromoArticleData
Auto Trait Implementations§
impl RefUnwindSafe for PromoArticleData
impl Send for PromoArticleData
impl Sync for PromoArticleData
impl Unpin for PromoArticleData
impl UnwindSafe for PromoArticleData
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