diff --git a/src/trello/model/mod.rs b/src/trello/model/mod.rs index 33c3a9b..3433240 100644 --- a/src/trello/model/mod.rs +++ b/src/trello/model/mod.rs @@ -2,7 +2,6 @@ pub(crate) mod auth; pub(crate) mod board; pub(crate) mod card; pub(crate) mod list; -// mod new_card; use derive_more::derive::Display; use serde::{Deserialize, Serialize}; diff --git a/src/trello/model/new_card.rs b/src/trello/model/new_card.rs deleted file mode 100644 index b177b92..0000000 --- a/src/trello/model/new_card.rs +++ /dev/null @@ -1,20 +0,0 @@ -use super::{TrelloCardName, TrelloListId}; - -pub(crate) struct NewTrelloCard { - name: TrelloCardName, - list_id: TrelloListId, -} -impl NewTrelloCard { - pub(crate) fn new(name: impl Into, list_id: impl Into) -> Self { - Self { - name: name.into(), - list_id: list_id.into(), - } - } - pub(crate) const fn name(&self) -> &TrelloCardName { - &self.name - } - pub(crate) const fn list_id(&self) -> &TrelloListId { - &self.list_id - } -}