pub struct ShortcodeSchema {
pub delimiters: (String, String),
pub definitions: HashMap<String, ShortcodeDefinition>,
}Expand description
Shortcode schema: delimiters and named definitions.
Fields§
§delimiters: (String, String)(open_delimiter, close_delimiter) pair.
definitions: HashMap<String, ShortcodeDefinition>Named shortcode definitions.
Trait Implementations§
Source§impl Clone for ShortcodeSchema
impl Clone for ShortcodeSchema
Source§fn clone(&self) -> ShortcodeSchema
fn clone(&self) -> ShortcodeSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShortcodeSchema
impl Debug for ShortcodeSchema
Source§impl<'de> Deserialize<'de> for ShortcodeSchema
impl<'de> Deserialize<'de> for ShortcodeSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ShortcodeSchema
impl RefUnwindSafe for ShortcodeSchema
impl Send for ShortcodeSchema
impl Sync for ShortcodeSchema
impl Unpin for ShortcodeSchema
impl UnsafeUnpin for ShortcodeSchema
impl UnwindSafe for ShortcodeSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more