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<'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 Forget for ContextSessionConfigurationV1
impl Freeze for ContextSessionConfigurationV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ContextKitPinV1>: Freeze,
PhantomData<PolicyId>: Freeze,
impl Move for ContextSessionConfigurationV1
impl RefUnwindSafe for ContextSessionConfigurationV1
impl Send for ContextSessionConfigurationV1where
RawVecInner: Send,
impl Sync for ContextSessionConfigurationV1where
RawVecInner: Sync,
impl Unpin for ContextSessionConfigurationV1
impl UnsafeUnpin for ContextSessionConfigurationV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ContextKitPinV1>: UnsafeUnpin,
PhantomData<PolicyId>: UnsafeUnpin,
impl UnwindSafe for ContextSessionConfigurationV1where
RawVecInner: UnwindSafe,
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