google_youtube_api_v3/youtube/search_result_snippet

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it’s “none” if there is not any upcoming/active live broadcasts.

pub type LiveBroadcastContent {
  LiveBroadcastContentNone
  LiveBroadcastContentUpcoming
  LiveBroadcastContentLive
  LiveBroadcastContentCompleted
}

Constructors

  • LiveBroadcastContentNone
  • LiveBroadcastContentUpcoming
  • LiveBroadcastContentLive
  • LiveBroadcastContentCompleted

Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.

pub type SearchResultSnippet {
  SearchResultSnippet(
    channel_id: option.Option(String),
    channel_title: option.Option(String),
    description: option.Option(String),
    live_broadcast_content: option.Option(LiveBroadcastContent),
    published_at: option.Option(String),
    thumbnails: option.Option(thumbnail_details.ThumbnailDetails),
    title: option.Option(String),
  )
}

Constructors

Values

pub fn live_broadcast_content_decoder() -> decode.Decoder(
  LiveBroadcastContent,
)
pub fn live_broadcast_content_to_string(
  value: LiveBroadcastContent,
) -> String
✨ Search Document