feature/knowledge-curation #91
@@ -98,6 +98,7 @@ pub struct FactDetail {
|
||||
|
||||
#[derive(Serialize)]
|
||||
pub struct PhotoLinkDetail {
|
||||
pub library_id: i32,
|
||||
pub file_path: String,
|
||||
pub role: String,
|
||||
}
|
||||
@@ -105,6 +106,7 @@ pub struct PhotoLinkDetail {
|
||||
impl From<EntityPhotoLink> for PhotoLinkDetail {
|
||||
fn from(l: EntityPhotoLink) -> Self {
|
||||
PhotoLinkDetail {
|
||||
library_id: l.library_id,
|
||||
file_path: l.file_path,
|
||||
role: l.role,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user