Struct ytextract::video::Video[][src]

pub struct Video { /* fields omitted */ }
Expand description

A Video found on YouTube

Example

let client = ytextract::Client::new().await?;

let video = client.video("nI2e-J6fsuk".parse()?).await?;

Implementations

The title of a Video

The Id of a Video

The Duration of a Video

The keyword/tags of a Video

The Channel of a Video

The description of a Video

The views of a Video

The Ratings of a Video

If a Video is live (e.g. a Livestream) or if it was live in the past

The Thumbnails of a Video

If a Video is age-restricted. This is the opposite of Video::family_safe.

If a Video is family safe

If a Video is unlisted

The category a Video belongs in

The publish date of a Video

The upload date of a Video

The Streams of a Video

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.