chore: remove unlinked file: trello::model::new_card
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m30s
Test / build (map[name:stable]) (push) Successful in 2m22s
Release Please / Release-plz (push) Failing after 18s

This commit is contained in:
Paul Campbell 2024-12-15 15:02:03 +00:00
parent ab185d0c87
commit 7fd074a45a
2 changed files with 0 additions and 21 deletions

View file

@ -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};

View file

@ -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<TrelloCardName>, list_id: impl Into<TrelloListId>) -> 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
}
}