pexels_client 0.1.1

Rust wrapper for Pexels API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

/// The `Collection` resource
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Collection {
    pub id: String,
    pub title: String,
    pub description: String,
    pub private: bool,
    pub media_count: i64,
    pub photos_count: i64,
    pub videos_count: i64,
}