FailedToCreateConsentCookie

Type Alias FailedToCreateConsentCookie 

Source
pub type FailedToCreateConsentCookie = CouldNotRetrieveTranscript;
Expand description

Type alias for when creating a consent cookie fails

Aliased Type§

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