#[non_exhaustive]pub struct ValidationContext {
pub module_id: String,
pub project_id: Option<String>,
pub closed_options: BTreeMap<String, Vec<Value>>,
pub project_credentials: BTreeSet<Digest>,
pub credential_destinations: BTreeMap<String, Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.module_id: String§project_id: Option<String>§closed_options: BTreeMap<String, Vec<Value>>Closed picker sets are pinned local evidence, never fetched during review.
project_credentials: BTreeSet<Digest>Project-scoped credentials, attested for this module and project by the caller.
credential_destinations: BTreeMap<String, Vec<String>>Credential/destination relationships are module policy, not inferred from key names.
Implementations§
Trait Implementations§
Source§impl Clone for ValidationContext
impl Clone for ValidationContext
Source§impl Debug for ValidationContext
impl Debug for ValidationContext
Auto Trait Implementations§
impl Forget for ValidationContext
impl Freeze for ValidationContext
impl Move for ValidationContext
impl RefUnwindSafe for ValidationContext
impl Send for ValidationContext
impl Sync for ValidationContext
impl Unpin for ValidationContext
impl UnsafeUnpin for ValidationContext
impl UnwindSafe for ValidationContext
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