From 7fd074a45af2528a70b21b09dfdaa58bdbcb2c63 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 15 Dec 2024 15:02:03 +0000 Subject: [PATCH] chore: remove unlinked file: trello::model::new_card --- src/trello/model/mod.rs | 1 - src/trello/model/new_card.rs | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 src/trello/model/new_card.rs 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 - } -}