Struct biliapi::requests::VideoInfo[][src]

pub struct VideoInfo {
    pub bvid: String,
    pub aid: u64,
    pub videos: usize,
    pub title: String,
    pub publish_at: DateTime<Utc>,
    pub create_at: DateTime<Utc>,
    pub desc: String,
    pub duration: Duration,
    pub cover_url: String,
    pub stat: VideoStat,
}
Expand description

一个 BV 视频的信息

https://api.bilibili.com/x/web-interface/view?bvid={bv} 获取

Fields

bvid: Stringaid: u64videos: usize

稿件分P总数

title: Stringpublish_at: DateTime<Utc>

稿件发布时间

create_at: DateTime<Utc>

用户投稿时间

desc: Stringduration: Duration

稿件总时长(所有分P)

cover_url: String

视频封面 url

stat: VideoStat

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

bv 号

请求的实现

Serialize this value into the given Serde serializer. 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.

Should always be Self

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.