Struct PCPConfig
Sourcepub struct PCPConfig {
pub context_dag: ContextDagConfig,
pub recovery: RecoveryConfig,
pub dosage: DosageConfig,
pub anti_sprawl: AntiSprawlConfig,
pub grounding: GroundingConfig,
pub linting: LintingConfig,
pub staleness: StalenessConfig,
}Expand description
Master PCP configuration.
Fields§
§context_dag: ContextDagConfigContext DAG configuration
recovery: RecoveryConfigRecovery configuration
dosage: DosageConfigDosage limits configuration
anti_sprawl: AntiSprawlConfigAnti-sprawl configuration
grounding: GroundingConfigGrounding configuration
linting: LintingConfigLinting configuration
staleness: StalenessConfigStaleness configuration
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PCPConfig
impl<'de> Deserialize<'de> for PCPConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PCPConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PCPConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PCPConfig
impl Serialize for PCPConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PCPConfig
Auto Trait Implementations§
impl Freeze for PCPConfig
impl RefUnwindSafe for PCPConfig
impl Send for PCPConfig
impl Sync for PCPConfig
impl Unpin for PCPConfig
impl UnwindSafe for PCPConfig
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