pub struct BlockchainVerificationConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> BlockchainVerificationConfigBuilder<S>
impl<S: State> BlockchainVerificationConfigBuilder<S>
Sourcepub fn build(self) -> BlockchainVerificationConfigwhere
S: IsComplete,
pub fn build(self) -> BlockchainVerificationConfigwhere
S: IsComplete,
Finish building and return the requested object
Required.
Identity of the authoritative provider in http_rpc_url.
Sourcepub fn verifiers(
self,
value: Vec<BlockchainVerificationProviderConfig>,
) -> BlockchainVerificationConfigBuilder<SetVerifiers<S>>where
S::Verifiers: IsUnset,
pub fn verifiers(
self,
value: Vec<BlockchainVerificationProviderConfig>,
) -> BlockchainVerificationConfigBuilder<SetVerifiers<S>>where
S::Verifiers: IsUnset,
Required.
Exactly two read-only providers.
Sourcepub fn chain_anchor(
self,
value: BlockchainChainAnchorConfig,
) -> BlockchainVerificationConfigBuilder<SetChainAnchor<S>>where
S::ChainAnchor: IsUnset,
pub fn chain_anchor(
self,
value: BlockchainChainAnchorConfig,
) -> BlockchainVerificationConfigBuilder<SetChainAnchor<S>>where
S::ChainAnchor: IsUnset,
Required.
Locally trusted chain checkpoint and freshness policy.
Sourcepub fn manifest_version(
self,
value: String,
) -> BlockchainVerificationConfigBuilder<SetManifestVersion<S>>where
S::ManifestVersion: IsUnset,
pub fn manifest_version(
self,
value: String,
) -> BlockchainVerificationConfigBuilder<SetManifestVersion<S>>where
S::ManifestVersion: IsUnset,
Required.
Reviewed deployment manifest version.
Sourcepub fn manifest_digest(
self,
value: String,
) -> BlockchainVerificationConfigBuilder<SetManifestDigest<S>>where
S::ManifestDigest: IsUnset,
pub fn manifest_digest(
self,
value: String,
) -> BlockchainVerificationConfigBuilder<SetManifestDigest<S>>where
S::ManifestDigest: IsUnset,
Required.
Digest of the canonical reviewed deployment manifest.
Sourcepub fn deployment_manifest(
self,
value: BlockchainDeploymentManifest,
) -> BlockchainVerificationConfigBuilder<SetDeploymentManifest<S>>where
S::DeploymentManifest: IsUnset,
pub fn deployment_manifest(
self,
value: BlockchainDeploymentManifest,
) -> BlockchainVerificationConfigBuilder<SetDeploymentManifest<S>>where
S::DeploymentManifest: IsUnset,
Required.
Reviewed deployment identities and permitted call graph.
Auto Trait Implementations§
impl<S> Freeze for BlockchainVerificationConfigBuilder<S>
impl<S> RefUnwindSafe for BlockchainVerificationConfigBuilder<S>
impl<S> Send for BlockchainVerificationConfigBuilder<S>
impl<S> Sync for BlockchainVerificationConfigBuilder<S>
impl<S> Unpin for BlockchainVerificationConfigBuilder<S>
impl<S> UnsafeUnpin for BlockchainVerificationConfigBuilder<S>
impl<S> UnwindSafe for BlockchainVerificationConfigBuilder<S>
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more