pub struct MilestoneSchemaConfig {
pub enabled: bool,
pub avg_per_project: u32,
pub payment_milestone_rate: f64,
}Expand description
Milestone configuration.
Fields§
§enabled: boolWhether milestone generation is enabled.
avg_per_project: u32Average number of milestones per project.
payment_milestone_rate: f64Fraction of milestones that are payment milestones (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for MilestoneSchemaConfig
impl Clone for MilestoneSchemaConfig
Source§fn clone(&self) -> MilestoneSchemaConfig
fn clone(&self) -> MilestoneSchemaConfig
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 MilestoneSchemaConfig
impl Debug for MilestoneSchemaConfig
Source§impl Default for MilestoneSchemaConfig
impl Default for MilestoneSchemaConfig
Source§impl<'de> Deserialize<'de> for MilestoneSchemaConfig
impl<'de> Deserialize<'de> for MilestoneSchemaConfig
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 MilestoneSchemaConfig
impl RefUnwindSafe for MilestoneSchemaConfig
impl Send for MilestoneSchemaConfig
impl Sync for MilestoneSchemaConfig
impl Unpin for MilestoneSchemaConfig
impl UnsafeUnpin for MilestoneSchemaConfig
impl UnwindSafe for MilestoneSchemaConfig
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