pub enum DeploymentMode {
Centralized,
Distributed {
aida_repo_path: Option<String>,
},
}Expand description
The deployment mode for an AIDA instance.
This is the top-level configuration that determines how IDs are generated, how storage works, and whether distributed features are enabled.
Variants§
Centralized
Centralized: single PostgreSQL or SQLite database, simple sequential IDs.
This is the default for teams with always-available connectivity.
IDs: FR-001, FEAT-042
Distributed
Distributed: git-based event log, node-namespaced IDs, offline-capable.
IDs: FR-7-001, FEAT-3-042 (with optional agreed IDs on trunk)
Implementations§
Trait Implementations§
Source§impl Clone for DeploymentMode
impl Clone for DeploymentMode
Source§fn clone(&self) -> DeploymentMode
fn clone(&self) -> DeploymentMode
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 DeploymentMode
impl Debug for DeploymentMode
Source§impl Default for DeploymentMode
impl Default for DeploymentMode
Source§impl<'de> Deserialize<'de> for DeploymentMode
impl<'de> Deserialize<'de> for DeploymentMode
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 PartialEq for DeploymentMode
impl PartialEq for DeploymentMode
Source§impl Serialize for DeploymentMode
impl Serialize for DeploymentMode
impl Eq for DeploymentMode
impl StructuralPartialEq for DeploymentMode
Auto Trait Implementations§
impl Freeze for DeploymentMode
impl RefUnwindSafe for DeploymentMode
impl Send for DeploymentMode
impl Sync for DeploymentMode
impl Unpin for DeploymentMode
impl UnsafeUnpin for DeploymentMode
impl UnwindSafe for DeploymentMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.