pub struct MdaConfigLoadOptions<'a> {
pub verify_integrity: bool,
pub verify_signatures: bool,
pub trusted_runtime: bool,
pub enforce_requires: bool,
pub allowed_networks: Vec<String>,
pub trust_policy: Option<TrustPolicy>,
pub rekor_client: Option<&'a dyn RekorClient>,
pub sigstore_verifier: Option<&'a dyn SigstoreVerifier>,
pub did_web_verifier: Option<&'a dyn DidWebVerifier>,
}Fields§
§verify_integrity: bool§verify_signatures: bool§trusted_runtime: bool§enforce_requires: bool§allowed_networks: Vec<String>§trust_policy: Option<TrustPolicy>§rekor_client: Option<&'a dyn RekorClient>§sigstore_verifier: Option<&'a dyn SigstoreVerifier>§did_web_verifier: Option<&'a dyn DidWebVerifier>Trait Implementations§
Source§impl<'a> Clone for MdaConfigLoadOptions<'a>
impl<'a> Clone for MdaConfigLoadOptions<'a>
Source§fn clone(&self) -> MdaConfigLoadOptions<'a>
fn clone(&self) -> MdaConfigLoadOptions<'a>
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<'a> Default for MdaConfigLoadOptions<'a>
impl<'a> Default for MdaConfigLoadOptions<'a>
Source§fn default() -> MdaConfigLoadOptions<'a>
fn default() -> MdaConfigLoadOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for MdaConfigLoadOptions<'a>
impl<'a> !RefUnwindSafe for MdaConfigLoadOptions<'a>
impl<'a> !Send for MdaConfigLoadOptions<'a>
impl<'a> !Sync for MdaConfigLoadOptions<'a>
impl<'a> Unpin for MdaConfigLoadOptions<'a>
impl<'a> UnsafeUnpin for MdaConfigLoadOptions<'a>
impl<'a> !UnwindSafe for MdaConfigLoadOptions<'a>
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