[][src]Enum vkapi::types::destination::Destination

pub enum Destination {
    Album,
    Wall,
    OwnerPhoto,
    Message,
    ChatPhoto,
    MarketPhoto,
    MarketAlbum,
    Audio,
    Video,
    Document,
    DocumentWall,
    DocumentMessage,
    Cover,
    AudioMessage,
    StoryPhoto,
    StoryVideo,
}

Used for uploading files docs

Variants

Album

Used for loading photo in album

Wall

Loading photo to wall

OwnerPhoto

Load photo as owner one

Message

Load photo to messages

ChatPhoto

Load photo as chat photo

MarketPhoto

Load photo as Market photo

MarketAlbum

Load photo for album

Audio

Load audio

Video

Load Video

Document

Load Document in documents section

DocumentWall

Load document on wall

DocumentMessage

Load Document in message

Cover

Load photo as cover in group

AudioMessage

Load audio as Audio message

StoryPhoto

Story photo

StoryVideo

story video

Methods

impl Destination[src]

pub fn pick_method_load(&self) -> &'static str[src]

pub fn pick_method_save(&self) -> &'static str[src]

If it returns none - We dont have to save file(it's saved automatically)

pub fn pick_param(&self) -> String[src]

TODO: Replace String to &str

Trait Implementations

impl Debug for Destination[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,