scout_rs 0.95.95

A Rust client for the synchornizing state with the Scout database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

/// A user's EarthRanger subject id within one herd (`public.user_earthranger_ids`).
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct UserEarthrangerId {
    pub user_id: String,
    pub herd_id: i64,
    pub earthranger_id: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub inserted_at: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub updated_at: Option<String>,
}