mod address;
mod contact;
mod date_range;
pub use address::AddressBlock;
pub use contact::ContactBlock;
pub use date_range::DateRangeBlock;
use crate::field::Field;
pub trait Block: Send + Sync {
fn prefix(&self) -> &str;
fn fields(&self) -> Vec<Box<dyn Field>>;
fn title(&self) -> Option<&str> {
None
}
}