pub struct ConfigData {Show 26 fields
pub internal_url: String,
pub external_url: String,
pub internal_url_enabled: bool,
pub external_url_enabled: bool,
pub watch_paths: Vec<WatchPathEntry>,
pub run_on_startup: bool,
pub pause_on_metered_network: bool,
pub pause_on_battery_power: bool,
pub background_sync_enabled: bool,
pub notifications_enabled: bool,
pub startup_catchup_mode: StartupCatchupMode,
pub upload_concurrency: u8,
pub quiet_hours_start: Option<u8>,
pub quiet_hours_end: Option<u8>,
pub library_view_enabled: bool,
pub download_target_path: Option<String>,
pub library_preview_full_resolution: bool,
pub library_grid_quality: String,
pub cache_disk_cap_mb: u32,
pub raw_decode_cache_enabled: bool,
pub raw_full_decode: bool,
pub show_unnamed_faces: bool,
pub show_hidden_faces: bool,
pub upload_xmp_sidecars: bool,
pub grid_border_width: f32,
pub grid_border_color: String,
}Expand description
Configuration schema driving application behavior and connection settings.
Fields§
§internal_url: StringActive local Immich server connection address.
external_url: StringActive remote or external connection address.
internal_url_enabled: boolTrue if internal URL connection is enabled.
external_url_enabled: boolTrue if external URL connection is enabled.
watch_paths: Vec<WatchPathEntry>List of watched local directory entries.
run_on_startup: boolTrue if application should launch automatically at user login.
pause_on_metered_network: boolPause transfers when metered connections are detected.
pause_on_battery_power: boolPause transfers when system runs on battery.
background_sync_enabled: boolWhether automatic background monitoring/upload discovery is enabled.
notifications_enabled: boolWhether desktop notifications (sync summary, connectivity lost, etc.) are shown.
startup_catchup_mode: StartupCatchupModeDefault catch-up scanning strategy when background scan starts.
upload_concurrency: u8Number of parallel upload workers (1–10). Defaults to 3.
quiet_hours_start: Option<u8>Quiet-hours window start (local clock hour, 0-23). None means disabled.
quiet_hours_end: Option<u8>Quiet-hours window end (local clock hour, 0-23, exclusive).
library_view_enabled: boolWhether the built-in library viewer is the primary window.
download_target_path: Option<String>Target folder for asset downloads from the library viewer.
library_preview_full_resolution: boolWhen true, lightbox loads original full-resolution image instead of preview.
library_grid_quality: StringGrid thumbnail quality: “auto”, “thumbnail”, “preview”. Defaults to auto.
cache_disk_cap_mb: u32Total on-disk cache cap in megabytes across all subcaches (thumbnails, raw_decode, exif, video, preview, open-in). Pruning runs once at startup. Defaults to 2000 MB.
raw_decode_cache_enabled: boolWhen true, decoded RAW textures are cached to disk for faster re-opens. Disable to save storage; each cached file is a full-resolution PNG.
raw_full_decode: boolWhen true, RAW files are fully demosaiced from sensor data (slow but highest quality). When false the embedded camera JPEG preview is extracted instead (near-instant).
show_unnamed_faces: boolShow people with no assigned name in the Explore view.
Include hidden people in the Explore view.
upload_xmp_sidecars: boolAttach XMP sidecar files alongside media during upload. Per-folder rules can override this global default.
grid_border_width: f32Border width between grid tiles in pixels (0.0 = edge-to-edge, max 10.0).
grid_border_color: StringBorder color as a CSS hex string (e.g. “#ffffff”). Defaults to white.
Trait Implementations§
Source§impl Clone for ConfigData
impl Clone for ConfigData
Source§fn clone(&self) -> ConfigData
fn clone(&self) -> ConfigData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigData
impl Debug for ConfigData
Source§impl Default for ConfigData
impl Default for ConfigData
Source§impl<'de> Deserialize<'de> for ConfigData
impl<'de> Deserialize<'de> for ConfigData
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>,
Auto Trait Implementations§
impl Freeze for ConfigData
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnsafeUnpin for ConfigData
impl UnwindSafe for ConfigData
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
§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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