pub struct CapcoConfig {
pub version: String,
pub default_timezone: UtcOffset,
}Expand description
CAPCO-specific configuration.
Fields§
§version: StringPinned ISM schema version. Must match the compiled marque-ism version.
default_timezone: UtcOffsetDefault UTC offset applied to floating (offset-naive) DateHourMin and
DateTime values encountered during document processing.
In national-security documents, times without an explicit offset are conventionally Zulu (UTC). Set this to a different offset only when processing documents from an organization that consistently marks times with a local civil offset without recording it explicitly in the marking.
Configurable via [capco] default_timezone = "Z" in .marque.toml or
the MARQUE_DEFAULT_TIMEZONE environment variable.
Accepted forms: "Z", "+HH:MM", "-HH:MM". Defaults to UTC.
Trait Implementations§
Source§impl Clone for CapcoConfig
impl Clone for CapcoConfig
Source§fn clone(&self) -> CapcoConfig
fn clone(&self) -> CapcoConfig
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 CapcoConfig
impl Debug for CapcoConfig
Auto Trait Implementations§
impl Freeze for CapcoConfig
impl RefUnwindSafe for CapcoConfig
impl Send for CapcoConfig
impl Sync for CapcoConfig
impl Unpin for CapcoConfig
impl UnsafeUnpin for CapcoConfig
impl UnwindSafe for CapcoConfig
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