chore: remove unlinked file: trello::model::new_card
This commit is contained in:
parent
ab185d0c87
commit
7fd074a45a
2 changed files with 0 additions and 21 deletions
|
@ -2,7 +2,6 @@ pub(crate) mod auth;
|
||||||
pub(crate) mod board;
|
pub(crate) mod board;
|
||||||
pub(crate) mod card;
|
pub(crate) mod card;
|
||||||
pub(crate) mod list;
|
pub(crate) mod list;
|
||||||
// mod new_card;
|
|
||||||
|
|
||||||
use derive_more::derive::Display;
|
use derive_more::derive::Display;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue