Enum instagram_link::MediaLink[][src]

pub enum MediaLink {
    Post {
        metadata: MediaMetadata,
    },
    Story {
        metadata: MediaMetadata,
        owner_username: String,
    },
    StoryHighlight {
        metadata: MediaMetadata,
        highlight_id: Option<u64>,
    },
    IGTVVideo {
        metadata: MediaMetadata,
    },
    Reel {
        metadata: MediaMetadata,
    },
}

Variants

Post
Show fields

Fields of Post

metadata: MediaMetadata
Story
Show fields

Fields of Story

metadata: MediaMetadataowner_username: String
StoryHighlight
Show fields

Fields of StoryHighlight

metadata: MediaMetadatahighlight_id: Option<u64>
IGTVVideo
Show fields

Fields of IGTVVideo

metadata: MediaMetadata
Reel
Show fields

Fields of Reel

metadata: MediaMetadata

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

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.

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.