arts-n-crafts 0.1.3

Arts and Crafts was a reaction against the industrialization and excess of the Victorian era, and it sought to celebrate traditional craftsmanship and materials. Arts and Crafts architecture is characterized by a simple and functional design, the use of natural materials, and a focus on craftsmanship.
Documentation
use serde::{Deserialize, Serialize};

#[derive(Clone, Serialize, Deserialize, Debug, PartialEq)]
pub struct WithIdentifier {
    pub id: String,
}

#[cfg(test)]
mod with_identifier_tests {
    use super::*;
    use rstest::rstest;
    use uuid::Uuid;

    #[rstest]
    fn it_should_contain_an_id() {
        let id = Uuid::now_v7().to_string();
        let obj = WithIdentifier { id: id.clone() };
        assert_eq!(id, obj.id);
    }
}