pattrick 0.5.0

Pattrick is a command line tool for managing Personal Access Tokens (PAT) in Azure DevOps.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

/// Represents an Azure DevOps user profile
#[derive(Debug, Serialize, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct Profile {
    /// User ID
    pub id: String,
    /// Display name
    pub display_name: Option<String>,
    /// Email address
    pub email_address: Option<String>,
    /// Public alias
    pub public_alias: Option<String>,
}