pub struct ContentModule {Show 16 fields
pub content_module_type: ContentModuleType,
pub standard_company_logo: Option<Box<StandardCompanyLogoModule>>,
pub standard_comparison_table: Option<Box<StandardComparisonTableModule>>,
pub standard_four_image_text: Option<Box<StandardFourImageTextModule>>,
pub standard_four_image_text_quadrant: Option<Box<StandardFourImageTextQuadrantModule>>,
pub standard_header_image_text: Option<Box<StandardHeaderImageTextModule>>,
pub standard_image_sidebar: Option<Box<StandardImageSidebarModule>>,
pub standard_image_text_overlay: Option<Box<StandardImageTextOverlayModule>>,
pub standard_multiple_image_text: Option<Box<StandardMultipleImageTextModule>>,
pub standard_product_description: Option<Box<StandardProductDescriptionModule>>,
pub standard_single_image_highlights: Option<Box<StandardSingleImageHighlightsModule>>,
pub standard_single_image_specs_detail: Option<Box<StandardSingleImageSpecsDetailModule>>,
pub standard_single_side_image: Option<Box<StandardSingleSideImageModule>>,
pub standard_tech_specs: Option<Box<StandardTechSpecsModule>>,
pub standard_text: Option<Box<StandardTextModule>>,
pub standard_three_image_text: Option<Box<StandardThreeImageTextModule>>,
}Expand description
ContentModule : An A+ Content module. An A+ Content document is composed of content modules. The contentModuleType property selects which content module types to use.
Fields§
§content_module_type: ContentModuleType§standard_company_logo: Option<Box<StandardCompanyLogoModule>>§standard_comparison_table: Option<Box<StandardComparisonTableModule>>§standard_four_image_text: Option<Box<StandardFourImageTextModule>>§standard_four_image_text_quadrant: Option<Box<StandardFourImageTextQuadrantModule>>§standard_header_image_text: Option<Box<StandardHeaderImageTextModule>>§standard_image_text_overlay: Option<Box<StandardImageTextOverlayModule>>§standard_multiple_image_text: Option<Box<StandardMultipleImageTextModule>>§standard_product_description: Option<Box<StandardProductDescriptionModule>>§standard_single_image_highlights: Option<Box<StandardSingleImageHighlightsModule>>§standard_single_image_specs_detail: Option<Box<StandardSingleImageSpecsDetailModule>>§standard_single_side_image: Option<Box<StandardSingleSideImageModule>>§standard_tech_specs: Option<Box<StandardTechSpecsModule>>§standard_text: Option<Box<StandardTextModule>>§standard_three_image_text: Option<Box<StandardThreeImageTextModule>>Implementations§
Source§impl ContentModule
impl ContentModule
Sourcepub fn new(content_module_type: ContentModuleType) -> ContentModule
pub fn new(content_module_type: ContentModuleType) -> ContentModule
An A+ Content module. An A+ Content document is composed of content modules. The contentModuleType property selects which content module types to use.
Trait Implementations§
Source§impl Clone for ContentModule
impl Clone for ContentModule
Source§fn clone(&self) -> ContentModule
fn clone(&self) -> ContentModule
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 ContentModule
impl Debug for ContentModule
Source§impl Default for ContentModule
impl Default for ContentModule
Source§fn default() -> ContentModule
fn default() -> ContentModule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentModule
impl<'de> Deserialize<'de> for ContentModule
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 PartialEq for ContentModule
impl PartialEq for ContentModule
Source§impl Serialize for ContentModule
impl Serialize for ContentModule
impl StructuralPartialEq for ContentModule
Auto Trait Implementations§
impl Freeze for ContentModule
impl RefUnwindSafe for ContentModule
impl Send for ContentModule
impl Sync for ContentModule
impl Unpin for ContentModule
impl UnsafeUnpin for ContentModule
impl UnwindSafe for ContentModule
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