pub struct Settings {
pub version: u32,
pub daemon: DaemonSettings,
pub max_attachment_mb: u64,
pub default_author: Option<String>,
}Expand description
Project settings, including how the local daemon is exposed.
Fields§
§version: u32On-disk format version.
daemon: DaemonSettingsLocal daemon settings.
max_attachment_mb: u64Maximum size, in MB, for a single attachment upload. Defaults to 50 MB to match git/GitHub’s soft warning threshold; larger uploads are rejected.
Fallback author for this board when neither an explicit override nor the
repo’s VCS supplies an identity. Captured at wipe init from the VCS (or
the global default), so attribution is never “unknown”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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