pub struct PartnerPreset {Show 14 fields
pub name: String,
pub description: String,
pub source: PresetSource,
pub provenance_url: Option<String>,
pub version: String,
pub locked: bool,
pub disclaimer: String,
pub determinism: DeterminismConfig,
pub defaults: PresetDefaults,
pub required_fields: Vec<String>,
pub format_overrides: IndexMap<String, String>,
pub config: PresetConfig,
pub validation_rules: IndexMap<String, ValidationRule>,
pub custom_mappings: IndexMap<String, String>,
}Expand description
Partner preset configuration
Fields§
§name: StringPreset name
description: StringPreset description
source: PresetSourceSource of preset definition
provenance_url: Option<String>URL to documentation
version: StringPreset version
locked: boolWhether preset is locked from editing
disclaimer: StringLegal disclaimer
determinism: DeterminismConfigDeterminism configuration
defaults: PresetDefaultsDefault values for preset
required_fields: Vec<String>Required fields that must be present for this partner
format_overrides: IndexMap<String, String>Format overrides for specific fields (field_name -> format_string)
config: PresetConfigPreset configuration settings
validation_rules: IndexMap<String, ValidationRule>Validation rules specific to this partner
custom_mappings: IndexMap<String, String>Custom field mappings for partner-specific requirements
Trait Implementations§
Source§impl Clone for PartnerPreset
impl Clone for PartnerPreset
Source§fn clone(&self) -> PartnerPreset
fn clone(&self) -> PartnerPreset
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 PartnerPreset
impl Debug for PartnerPreset
Source§impl<'de> Deserialize<'de> for PartnerPreset
impl<'de> Deserialize<'de> for PartnerPreset
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 PartnerPreset
impl RefUnwindSafe for PartnerPreset
impl Send for PartnerPreset
impl Sync for PartnerPreset
impl Unpin for PartnerPreset
impl UnwindSafe for PartnerPreset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more