planter_core/
stakeholders.rs

1use crate::person::Person;
2
3#[derive(Debug)]
4/// Stakeholders are all those individuals, organizations or entities who have an interest in the project.
5/// Their interest could be constructive or destructive.
6pub enum Stakeholder {
7    /// A person who has an interest in the project.
8    Individual {
9        /// The personal information of the individual.
10        person: Person,
11        /// A description of the individual's interest in the project.
12        description: Option<String>,
13    },
14    /// An organization that has an interest in the project.
15    Organization {
16        /// The name of the organization.
17        name: String,
18        /// A description of the organization's interest in the project.
19        description: Option<String>,
20    },
21}