summaryrefslogblamecommitdiff
path: root/dichroism/src/models/photo.rs
blob: 086d387b99024e1f2fd752268ad77536f2f34ee0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                  
                   
 

            

                                    
     
 
#[derive(Debug, Clone)]
pub struct Photo {
    pub id: String,
}

impl Photo {
    pub fn new(id: String) -> Self {
        Self { id }
    }
}