pub struct ContextSessionConfigurationV1 {
pub tuning_profile: TuningProfilePinV1,
pub kits: Vec<ContextKitPinV1>,
pub policy_refs: Vec<PolicyId>,
pub integration_depth: ContextSdkIntegrationDepthV1,
}Expand description
Frozen configuration inputs that may affect Context SDK behavior or evidence.
Fields§
§tuning_profile: TuningProfilePinV1§kits: Vec<ContextKitPinV1>§policy_refs: Vec<PolicyId>§integration_depth: ContextSdkIntegrationDepthV1Implementations§
Source§impl ContextSessionConfigurationV1
impl ContextSessionConfigurationV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate uniqueness and collision invariants for immutable resolved pins.
Trait Implementations§
Source§impl Clone for ContextSessionConfigurationV1
impl Clone for ContextSessionConfigurationV1
Source§fn clone(&self) -> ContextSessionConfigurationV1
fn clone(&self) -> ContextSessionConfigurationV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ContextSessionConfigurationV1
impl<'de> Deserialize<'de> for ContextSessionConfigurationV1
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
impl Eq for ContextSessionConfigurationV1
impl StructuralPartialEq for ContextSessionConfigurationV1
Auto Trait Implementations§
impl Freeze for ContextSessionConfigurationV1
impl RefUnwindSafe for ContextSessionConfigurationV1
impl Send for ContextSessionConfigurationV1
impl Sync for ContextSessionConfigurationV1
impl Unpin for ContextSessionConfigurationV1
impl UnsafeUnpin for ContextSessionConfigurationV1
impl UnwindSafe for ContextSessionConfigurationV1
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