1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// SPDX-License-Identifier: MIT
// Copyright (c) 2022-2025 Andriel Ferreira <https://github.com/AndrielFR>
//! This module contains the `Studio` struct.
use ;
use crateResult;
/// Represents a studio with various attributes.
///
/// The `Studio` struct contains detailed information about a studio,
/// including its ID, name, whether it is an animation studio, URL,
/// whether it is a favorite, and the number of favorites.
///
/// # Fields
///
/// * `id` - The ID of the studio.
/// * `name` - The name of the studio.
/// * `is_animation_studio` - Whether the studio is an animation studio.
/// * `url` - The URL of the studio.
/// * `is_favourite` - An optional boolean indicating if the studio is a favorite.
/// * `favourites` - The number of favorites the studio has.