#[non_exhaustive]pub struct CustomContentConfiguration { /* private fields */ }
Expand description
The configuration of a CustomContentVisual
.
Implementations§
source§impl CustomContentConfiguration
impl CustomContentConfiguration
sourcepub fn content_url(&self) -> Option<&str>
pub fn content_url(&self) -> Option<&str>
The input URL that links to the custom content that you want in the custom visual.
sourcepub fn content_type(&self) -> Option<&CustomContentType>
pub fn content_type(&self) -> Option<&CustomContentType>
The content type of the custom content visual. You can use this to have the visual render as an image.
sourcepub fn image_scaling(&self) -> Option<&CustomContentImageScalingConfiguration>
pub fn image_scaling(&self) -> Option<&CustomContentImageScalingConfiguration>
The sizing options for the size of the custom content visual. This structure is required when the ContentType
of the visual is 'IMAGE'
.
source§impl CustomContentConfiguration
impl CustomContentConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomContentConfiguration
.
Trait Implementations§
source§impl Clone for CustomContentConfiguration
impl Clone for CustomContentConfiguration
source§fn clone(&self) -> CustomContentConfiguration
fn clone(&self) -> CustomContentConfiguration
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 CustomContentConfiguration
impl Debug for CustomContentConfiguration
source§impl PartialEq<CustomContentConfiguration> for CustomContentConfiguration
impl PartialEq<CustomContentConfiguration> for CustomContentConfiguration
source§fn eq(&self, other: &CustomContentConfiguration) -> bool
fn eq(&self, other: &CustomContentConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.