libre_link_up_api_client 0.3.2

Unofficial Rust client for the LibreLinkUp API - fetch CGM data from FreeStyle Libre 2/3 devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! List of connections (GET /llu/connections) response.

use crate::models::common::{AuthTicket, Connection};
use serde::{Deserialize, Serialize};

/// Response containing a list of connections and authentication ticket.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ConnectionsResponse {
    /// HTTP status code
    pub status: i32,
    /// List of connections
    pub data: Vec<Connection>,
    /// Authentication ticket for future requests
    pub ticket: AuthTicket,
}