jacquard_api/sh_tangled/
string.rs

1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: sh.tangled.string
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[jacquard_derive::lexicon]
9#[derive(
10    serde::Serialize,
11    serde::Deserialize,
12    Debug,
13    Clone,
14    PartialEq,
15    Eq,
16    jacquard_derive::IntoStatic
17)]
18#[serde(rename_all = "camelCase")]
19pub struct String<'a> {
20    #[serde(borrow)]
21    pub contents: jacquard_common::CowStr<'a>,
22    pub created_at: jacquard_common::types::string::Datetime,
23    #[serde(borrow)]
24    pub description: jacquard_common::CowStr<'a>,
25    #[serde(borrow)]
26    pub filename: jacquard_common::CowStr<'a>,
27}
28
29impl jacquard_common::types::collection::Collection for String<'_> {
30    const NSID: &'static str = "sh.tangled.string";
31}