Add post_blank to the rust types.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use organic::types::StandardProperties;
|
||||
|
||||
use super::macros::intermediate;
|
||||
|
||||
use super::IObject;
|
||||
@@ -7,6 +9,7 @@ use crate::error::CustomError;
|
||||
pub(crate) struct IRegularLink {
|
||||
pub(crate) raw_link: String,
|
||||
pub(crate) children: Vec<IObject>,
|
||||
pub(crate) post_blank: organic::types::PostBlank,
|
||||
}
|
||||
|
||||
intermediate!(
|
||||
@@ -25,6 +28,7 @@ intermediate!(
|
||||
Ok(IRegularLink {
|
||||
raw_link: original.get_raw_link().into_owned(),
|
||||
children,
|
||||
post_blank: original.get_post_blank(),
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user