pub struct ContractTerms {
pub payment_terms: String,
pub delivery_terms: Option<String>,
pub warranty_months: Option<u32>,
pub early_termination_penalty_pct: Option<f64>,
pub auto_renewal: bool,
pub termination_notice_days: u32,
pub price_adjustment_clause: bool,
pub max_annual_price_increase_pct: Option<f64>,
}Expand description
Contract terms and conditions.
Fields§
§payment_terms: StringPayment terms (e.g., “NET30”, “2/10 NET30”)
delivery_terms: Option<String>Delivery terms (incoterms)
warranty_months: Option<u32>Warranty period in months
early_termination_penalty_pct: Option<f64>Early termination penalty percentage
auto_renewal: boolAuto-renewal enabled
termination_notice_days: u32Notice period for termination (days)
price_adjustment_clause: boolPrice adjustment clause enabled
max_annual_price_increase_pct: Option<f64>Maximum annual price increase percentage
Trait Implementations§
Source§impl Clone for ContractTerms
impl Clone for ContractTerms
Source§fn clone(&self) -> ContractTerms
fn clone(&self) -> ContractTerms
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 ContractTerms
impl Debug for ContractTerms
Source§impl Default for ContractTerms
impl Default for ContractTerms
Source§impl<'de> Deserialize<'de> for ContractTerms
impl<'de> Deserialize<'de> for ContractTerms
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 ContractTerms
impl RefUnwindSafe for ContractTerms
impl Send for ContractTerms
impl Sync for ContractTerms
impl Unpin for ContractTerms
impl UnsafeUnpin for ContractTerms
impl UnwindSafe for ContractTerms
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