pub struct ProjectSettings {
pub require_approval: bool,
pub approval_threshold: u16,
pub version_control: bool,
pub max_file_size_mb: u64,
pub allowed_file_types: Vec<String>,
pub retention_days: Option<u32>,
pub enable_watermarks: bool,
pub enable_analytics: bool,
}Expand description
Project settings
Fields§
§require_approval: bool§approval_threshold: u16§version_control: bool§max_file_size_mb: u64§allowed_file_types: Vec<String>§retention_days: Option<u32>§enable_watermarks: bool§enable_analytics: boolTrait Implementations§
Source§impl Clone for ProjectSettings
impl Clone for ProjectSettings
Source§fn clone(&self) -> ProjectSettings
fn clone(&self) -> ProjectSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectSettings
impl Debug for ProjectSettings
Source§impl Default for ProjectSettings
impl Default for ProjectSettings
Source§impl<'de> Deserialize<'de> for ProjectSettings
impl<'de> Deserialize<'de> for ProjectSettings
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
Auto Trait Implementations§
impl Freeze for ProjectSettings
impl RefUnwindSafe for ProjectSettings
impl Send for ProjectSettings
impl Sync for ProjectSettings
impl Unpin for ProjectSettings
impl UnwindSafe for ProjectSettings
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