16 lines
461 B
Rust
16 lines
461 B
Rust
|
//
|
||
|
use crate::nextcloud::model::{NextcloudCardDescription, NextcloudCardTitle};
|
||
|
use crate::trello::model::card::{TrelloCardDescription, TrelloCardName};
|
||
|
|
||
|
impl From<&TrelloCardName> for NextcloudCardTitle {
|
||
|
fn from(value: &TrelloCardName) -> Self {
|
||
|
Self::new(value.to_string())
|
||
|
}
|
||
|
}
|
||
|
|
||
|
impl From<&TrelloCardDescription> for NextcloudCardDescription {
|
||
|
fn from(value: &TrelloCardDescription) -> Self {
|
||
|
Self::new(value.to_string())
|
||
|
}
|
||
|
}
|