pub enum CliArtifact {
Table {
artifact: TableArtifact,
},
List {
artifact: ListArtifact,
},
Text {
artifact: TextArtifact,
},
CopyPasteText {
artifact: CopyPasteTextArtifact,
},
Dashboard {
artifact: DashboardArtifact,
},
Chart {
artifact: ChartArtifact,
},
Audio {
artifact: AudioArtifact,
},
Image {
artifact: ImageArtifact,
},
Video {
artifact: VideoArtifact,
},
PresentationCard {
artifact: PresentationCardArtifact,
},
}Variants§
Table
Fields
§
artifact: TableArtifactList
Fields
§
artifact: ListArtifactText
Fields
§
artifact: TextArtifactCopyPasteText
Fields
§
artifact: CopyPasteTextArtifactDashboard
Fields
§
artifact: DashboardArtifactChart
Fields
§
artifact: ChartArtifactAudio
Fields
§
artifact: AudioArtifactImage
Fields
§
artifact: ImageArtifactVideo
Fields
§
artifact: VideoArtifactPresentationCard
Fields
§
artifact: PresentationCardArtifactImplementations§
Source§impl CliArtifact
impl CliArtifact
pub const fn artifact_type_str(&self) -> &'static str
pub fn title(&self) -> Option<String>
pub const fn table(artifact: TableArtifact) -> Self
pub const fn list(artifact: ListArtifact) -> Self
pub const fn text(artifact: TextArtifact) -> Self
pub const fn copy_paste_text(artifact: CopyPasteTextArtifact) -> Self
pub const fn dashboard(artifact: DashboardArtifact) -> Self
pub const fn chart(artifact: ChartArtifact) -> Self
pub const fn audio(artifact: AudioArtifact) -> Self
pub const fn image(artifact: ImageArtifact) -> Self
pub const fn video(artifact: VideoArtifact) -> Self
pub const fn presentation_card(artifact: PresentationCardArtifact) -> Self
Trait Implementations§
Source§impl Clone for CliArtifact
impl Clone for CliArtifact
Source§fn clone(&self) -> CliArtifact
fn clone(&self) -> CliArtifact
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 CliArtifact
impl Debug for CliArtifact
Source§impl<'de> Deserialize<'de> for CliArtifact
impl<'de> Deserialize<'de> for CliArtifact
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 JsonSchema for CliArtifact
impl JsonSchema for CliArtifact
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CliArtifact
impl RefUnwindSafe for CliArtifact
impl Send for CliArtifact
impl Sync for CliArtifact
impl Unpin for CliArtifact
impl UnsafeUnpin for CliArtifact
impl UnwindSafe for CliArtifact
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