pub struct TagContext {
pub tags: Vec<Tag>,
}Expand description
tagový kontext pro tinytemplate šablonu
Fields§
vektor obsahující prvky typu Tag
Trait Implementations§
Source§impl Clone for TagContext
impl Clone for TagContext
Source§fn clone(&self) -> TagContext
fn clone(&self) -> TagContext
Returns a duplicate of the value. Read more
1.0.0 · 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 TagContext
impl Debug for TagContext
Source§impl<'de> Deserialize<'de> for TagContext
impl<'de> Deserialize<'de> for TagContext
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
Source§impl From<&HashMap<String, Vec<ArticleCard>>> for TagContext
konverze z tagové hasmapy na šablonový kontext
impl From<&HashMap<String, Vec<ArticleCard>>> for TagContext
konverze z tagové hasmapy na šablonový kontext
Source§impl Render for TagContext
impl Render for TagContext
Source§fn render(&self, _: &CatContext) -> Result<RenderSite, CatError>
fn render(&self, _: &CatContext) -> Result<RenderSite, CatError>
metoda pro renderování daného typu. Read more
Auto Trait Implementations§
impl Freeze for TagContext
impl RefUnwindSafe for TagContext
impl Send for TagContext
impl Sync for TagContext
impl Unpin for TagContext
impl UnsafeUnpin for TagContext
impl UnwindSafe for TagContext
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