Enum googapis::google::cloud::dialogflow::v2::intent::message::browse_carousel_card::ImageDisplayOptions [−][src]
#[repr(i32)]
pub enum ImageDisplayOptions {
Unspecified,
Gray,
White,
Cropped,
BlurredBackground,
}
Expand description
Image display options for Actions on Google. This should be used for when the image’s aspect ratio does not match the image container’s aspect ratio.
Variants
Fill the gaps between the image and the image container with gray bars.
Fill the gaps between the image and the image container with gray bars.
Fill the gaps between the image and the image container with white bars.
Image is scaled such that the image width and height match or exceed the container dimensions. This may crop the top and bottom of the image if the scaled image height is greater than the container height, or crop the left and right of the image if the scaled image width is greater than the container width. This is similar to “Zoom Mode” on a widescreen TV when playing a 4:3 video.
Pad the gaps between image and image frame with a blurred copy of the same image.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImageDisplayOptions
impl Send for ImageDisplayOptions
impl Sync for ImageDisplayOptions
impl Unpin for ImageDisplayOptions
impl UnwindSafe for ImageDisplayOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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