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: ContentModuleTypestandard_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
sourceimpl 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
sourceimpl Clone for ContentModule
impl Clone for ContentModule
sourcefn clone(&self) -> ContentModule
fn clone(&self) -> ContentModule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ContentModule
impl Debug for ContentModule
sourceimpl Default for ContentModule
impl Default for ContentModule
sourcefn default() -> ContentModule
fn default() -> ContentModule
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContentModule
impl<'de> Deserialize<'de> for ContentModule
sourcefn 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
sourceimpl PartialEq<ContentModule> for ContentModule
impl PartialEq<ContentModule> for ContentModule
sourcefn eq(&self, other: &ContentModule) -> bool
fn eq(&self, other: &ContentModule) -> bool
sourceimpl Serialize for ContentModule
impl Serialize for ContentModule
impl StructuralPartialEq for ContentModule
Auto Trait Implementations
impl RefUnwindSafe for ContentModule
impl Send for ContentModule
impl Sync for ContentModule
impl Unpin for ContentModule
impl UnwindSafe for ContentModule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more