osars 0.3.1

Rust client library for OpenScheduleAPI - educational schedule management system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

/// Represents a student group.
///
/// A group of students who attend classes together.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Group {
    /// Unique identifier for the group
    #[serde(rename = "studentGroupId")]
    pub id: u32,
    /// Name of the group
    pub name: String,
    /// ID of the campus where this group is located
    #[serde(rename = "campusId")]
    pub campus_id: u32,
}