pub enum ArtifactType {
Protobuf,
Avro,
JsonSchema,
Openapi,
AsyncApi,
GraphQL,
Xml,
Wsdl,
}Expand description
Supported artifact types for publishing
The CLI can auto-detect most types from file extensions, but explicit specification is supported for edge cases.
Variants§
Protobuf
Protocol Buffers (.proto files)
Avro
Apache Avro schemas
JsonSchema
JSON Schema definitions
Openapi
OpenAPI specifications
AsyncApi
AsyncAPI specifications
GraphQL
GraphQL schemas
Xml
XML schemas
Wsdl
WSDL definitions
Trait Implementations§
Source§impl Clone for ArtifactType
impl Clone for ArtifactType
Source§fn clone(&self) -> ArtifactType
fn clone(&self) -> ArtifactType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactType
impl Debug for ArtifactType
Source§impl<'de> Deserialize<'de> for ArtifactType
impl<'de> Deserialize<'de> for ArtifactType
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
Auto Trait Implementations§
impl Freeze for ArtifactType
impl RefUnwindSafe for ArtifactType
impl Send for ArtifactType
impl Sync for ArtifactType
impl Unpin for ArtifactType
impl UnwindSafe for ArtifactType
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