Struct foursquare::venue::Icon [] [src]

pub struct Icon {
    pub prefix: String,
    pub suffix: String,
}

Icon photo

Pieces needed to construct category icons at various sizes. Combine prefix with a size (32, 44, 64, and 88 are available) and suffix, e.g. https://foursquare.com/img/categories/food/default_64.png. To get an image with a gray background, use bg_ before the size, e.g. https://foursquare.com/img/categories_v2/food/icecream_bg_32.png.

Fields

Trait Implementations

impl Debug for Icon
[src]

[src]

Formats the value using the given formatter.