pub struct RetainageSchemaConfig {
pub enabled: bool,
pub default_percentage: f64,
}Expand description
Retainage configuration.
Fields§
§enabled: boolWhether retainage is enabled.
default_percentage: f64Default retainage percentage (0.0 to 1.0, e.g., 0.10 for 10%).
Trait Implementations§
Source§impl Clone for RetainageSchemaConfig
impl Clone for RetainageSchemaConfig
Source§fn clone(&self) -> RetainageSchemaConfig
fn clone(&self) -> RetainageSchemaConfig
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 RetainageSchemaConfig
impl Debug for RetainageSchemaConfig
Source§impl Default for RetainageSchemaConfig
impl Default for RetainageSchemaConfig
Source§impl<'de> Deserialize<'de> for RetainageSchemaConfig
impl<'de> Deserialize<'de> for RetainageSchemaConfig
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 RetainageSchemaConfig
impl RefUnwindSafe for RetainageSchemaConfig
impl Send for RetainageSchemaConfig
impl Sync for RetainageSchemaConfig
impl Unpin for RetainageSchemaConfig
impl UnsafeUnpin for RetainageSchemaConfig
impl UnwindSafe for RetainageSchemaConfig
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