Struct bip_metainfo::Metainfo [] [src]

pub struct Metainfo { /* fields omitted */ }

Contains optional metadata for a torrent file.

Methods

impl Metainfo
[src]

Read a Metainfo from metainfo file bytes.

Announce url for the main tracker of the metainfo file.

Comment included within the metainfo file.

Person or group that created the metainfo file.

String encoding format of the peices portion of the info dictionary.

Creation date in UNIX epoch format for the metainfo file.

Info dictionary for the metainfo file.

Retrieve the bencoded bytes for the Metainfo file.

Trait Implementations

impl Debug for Metainfo
[src]

Formats the value using the given formatter.

impl Clone for Metainfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Metainfo
[src]

impl PartialEq for Metainfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Info> for Metainfo
[src]

Performs the conversion.