YouTubeRequestFailed

Type Alias YouTubeRequestFailed 

Source
pub type YouTubeRequestFailed = CouldNotRetrieveTranscript;
Expand description

Type alias for when a request to YouTube fails

Aliased Type§

pub struct YouTubeRequestFailed {
    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