pub struct TemplateListItem {
pub id: TemplateId,
pub name: String,
pub description: Option<String>,
pub category: Option<String>,
pub tags: Vec<String>,
pub version: String,
pub author: Option<String>,
pub usage_count: u64,
pub is_public: bool,
pub created_at: DateTime<Utc>,
}Expand description
Template gallery item (for listing)
Fields§
§id: TemplateId§name: String§description: Option<String>§category: Option<String>§version: String§usage_count: u64§is_public: bool§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for TemplateListItem
impl Clone for TemplateListItem
Source§fn clone(&self) -> TemplateListItem
fn clone(&self) -> TemplateListItem
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 TemplateListItem
impl Debug for TemplateListItem
Source§impl<'de> Deserialize<'de> for TemplateListItem
impl<'de> Deserialize<'de> for TemplateListItem
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<&WorkflowTemplate> for TemplateListItem
impl From<&WorkflowTemplate> for TemplateListItem
Source§fn from(template: &WorkflowTemplate) -> Self
fn from(template: &WorkflowTemplate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TemplateListItem
impl RefUnwindSafe for TemplateListItem
impl Send for TemplateListItem
impl Sync for TemplateListItem
impl Unpin for TemplateListItem
impl UnwindSafe for TemplateListItem
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