diff --git a/plume-models/src/lists.rs b/plume-models/src/lists.rs index e8fa9efa..895120d5 100644 --- a/plume-models/src/lists.rs +++ b/plume-models/src/lists.rs @@ -30,9 +30,9 @@ impl TryFrom for ListType { } } -impl Into for ListType { - fn into(self) -> i32 { - match self { +impl From for i32 { + fn from(list_type: ListType) -> Self { + match list_type { ListType::User => 0, ListType::Blog => 1, ListType::Word => 2,