google_youtube_api_v3/youtube/invideo_position
DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam
Types
Describes in which corner of the video the visual widget will appear.
pub type CornerPosition {
CornerPositionTopLeft
CornerPositionTopRight
CornerPositionBottomLeft
CornerPositionBottomRight
}
Constructors
-
CornerPositionTopLeft -
CornerPositionTopRight -
CornerPositionBottomLeft -
CornerPositionBottomRight
Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one.
pub type InvideoPosition {
InvideoPosition(
corner_position: option.Option(CornerPosition),
type_: option.Option(Type),
)
}
Constructors
-
InvideoPosition( corner_position: option.Option(CornerPosition), type_: option.Option(Type), )
Values
pub fn corner_position_decoder() -> decode.Decoder(CornerPosition)
pub fn corner_position_to_string(value: CornerPosition) -> String
pub fn decoder() -> decode.Decoder(InvideoPosition)
pub fn to_json(value: InvideoPosition) -> json.Json
pub fn type_decoder() -> decode.Decoder(Type)
pub fn type_to_string(value: Type) -> String