VideoUnavailable

Type Alias VideoUnavailable 

Source
pub type VideoUnavailable = CouldNotRetrieveTranscript;
Expand description

Type alias for when the video is no longer available

Aliased Type§

pub struct VideoUnavailable {
    pub video_id: String,
    pub reason: Option<CouldNotRetrieveTranscriptReason>,
}

Fields§

§video_id: String

The YouTube video ID that was being accessed

§reason: Option<CouldNotRetrieveTranscriptReason>

The specific reason why the transcript couldn’t be retrieved