f98a09bc59
This is to make it easier to change function signatures by consolidating the places where the signatures exist.
15 lines
308 B
Rust
15 lines
308 B
Rust
use super::macros::intermediate;
|
|
use super::registry::Registry;
|
|
use crate::error::CustomError;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub(crate) struct IEntity {
|
|
pub(crate) html: String,
|
|
}
|
|
|
|
intermediate!(IEntity, Entity, |registry, original| async {
|
|
Ok(IEntity {
|
|
html: original.html.to_owned(),
|
|
})
|
|
});
|