pub enum TemplateEvent {
Draft,
Published,
}Expand description
Strongly typed status.
Variants§
Trait Implementations§
Source§impl Clone for TemplateEvent
impl Clone for TemplateEvent
Source§fn clone(&self) -> TemplateEvent
fn clone(&self) -> TemplateEvent
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 TemplateEvent
impl Debug for TemplateEvent
Source§impl<'de> Deserialize<'de> for TemplateEvent
impl<'de> Deserialize<'de> for TemplateEvent
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 PartialEq for TemplateEvent
impl PartialEq for TemplateEvent
impl Copy for TemplateEvent
impl Eq for TemplateEvent
impl StructuralPartialEq for TemplateEvent
Auto Trait Implementations§
impl Freeze for TemplateEvent
impl RefUnwindSafe for TemplateEvent
impl Send for TemplateEvent
impl Sync for TemplateEvent
impl Unpin for TemplateEvent
impl UnwindSafe for TemplateEvent
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