pub struct DeploymentCapabilities {
pub local_folder: bool,
pub manual_local_path: bool,
pub google_drive: bool,
pub inline_ingest: bool,
pub file_picker_native: bool,
pub preferred_source_default: String,
pub privacy_envelope: String,
pub ghostwriter_local_only: bool,
}Expand description
Capabilities available in the current deployment mode.
The frontend uses this to conditionally render source type options and the backend uses it to validate source configurations.
Fields§
§local_folder: boolServer can read from local filesystem paths.
manual_local_path: boolUser can type a local path (browser text input, not native picker).
google_drive: boolGoogle Drive remote source is available.
inline_ingest: boolDirect content ingest via POST /api/ingest.
file_picker_native: boolNative file picker dialog (Tauri only).
preferred_source_default: StringPreferred default source type for onboarding in this deployment mode.
"local_fs" for Desktop, "google_drive" for SelfHost and Cloud.
privacy_envelope: StringPrivacy envelope label: "local_first", "user_controlled", or "provider_controlled".
ghostwriter_local_only: boolWhether the Ghostwriter vault-to-compose pipeline runs entirely on the local machine. True only for Desktop mode (embedded server on 127.0.0.1).
Trait Implementations§
Source§impl Clone for DeploymentCapabilities
impl Clone for DeploymentCapabilities
Source§fn clone(&self) -> DeploymentCapabilities
fn clone(&self) -> DeploymentCapabilities
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeploymentCapabilities
impl Debug for DeploymentCapabilities
Source§impl<'de> Deserialize<'de> for DeploymentCapabilities
impl<'de> Deserialize<'de> for DeploymentCapabilities
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>,
Source§impl PartialEq for DeploymentCapabilities
impl PartialEq for DeploymentCapabilities
Source§impl Serialize for DeploymentCapabilities
impl Serialize for DeploymentCapabilities
impl Eq for DeploymentCapabilities
impl StructuralPartialEq for DeploymentCapabilities
Auto Trait Implementations§
impl Freeze for DeploymentCapabilities
impl RefUnwindSafe for DeploymentCapabilities
impl Send for DeploymentCapabilities
impl Sync for DeploymentCapabilities
impl Unpin for DeploymentCapabilities
impl UnsafeUnpin for DeploymentCapabilities
impl UnwindSafe for DeploymentCapabilities
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more