pub enum Archetype {
Basic,
Gateway,
EventSourced,
Consumer,
Producer,
Bff,
Scheduled,
WebSocketGateway,
SagaOrchestrator,
AntiCorruptionLayer,
}Expand description
Project archetype - defines the type of service to generate
Variants§
Basic
Basic Clean Architecture project (default)
Gateway
API Gateway service with gRPC, resilience, and caching
EventSourced
Event-sourced CQRS service
Consumer
Consumer service (event handler)
Producer
Producer service (event publisher)
Bff
Backend for Frontend - API aggregation layer
Scheduled
Scheduled job service (cron jobs, periodic tasks)
WebSocketGateway
WebSocket gateway for real-time streaming
SagaOrchestrator
Saga orchestrator for distributed transactions
AntiCorruptionLayer
Anti-corruption layer for legacy system integration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Archetype
impl<'de> Deserialize<'de> for Archetype
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<CliArchetype> for Archetype
impl From<CliArchetype> for Archetype
Source§fn from(cli: CliArchetype) -> Self
fn from(cli: CliArchetype) -> Self
Converts to this type from the input type.
impl Copy for Archetype
impl Eq for Archetype
impl StructuralPartialEq for Archetype
Auto Trait Implementations§
impl Freeze for Archetype
impl RefUnwindSafe for Archetype
impl Send for Archetype
impl Sync for Archetype
impl Unpin for Archetype
impl UnwindSafe for Archetype
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)