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_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_sidebar: Option<Box<StandardImageSidebarModule>>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

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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more