Struct aws_sdk_managedblockchainquery::operation::get_asset_contract::builders::GetAssetContractInputBuilder
source · #[non_exhaustive]pub struct GetAssetContractInputBuilder { /* private fields */ }
Expand description
A builder for GetAssetContractInput
.
Implementations§
source§impl GetAssetContractInputBuilder
impl GetAssetContractInputBuilder
sourcepub fn contract_identifier(self, input: ContractIdentifier) -> Self
pub fn contract_identifier(self, input: ContractIdentifier) -> Self
Contains the blockchain address and network information about the contract.
This field is required.sourcepub fn set_contract_identifier(self, input: Option<ContractIdentifier>) -> Self
pub fn set_contract_identifier(self, input: Option<ContractIdentifier>) -> Self
Contains the blockchain address and network information about the contract.
sourcepub fn get_contract_identifier(&self) -> &Option<ContractIdentifier>
pub fn get_contract_identifier(&self) -> &Option<ContractIdentifier>
Contains the blockchain address and network information about the contract.
sourcepub fn build(self) -> Result<GetAssetContractInput, BuildError>
pub fn build(self) -> Result<GetAssetContractInput, BuildError>
Consumes the builder and constructs a GetAssetContractInput
.
source§impl GetAssetContractInputBuilder
impl GetAssetContractInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetAssetContractOutput, SdkError<GetAssetContractError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetAssetContractOutput, SdkError<GetAssetContractError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAssetContractInputBuilder
impl Clone for GetAssetContractInputBuilder
source§fn clone(&self) -> GetAssetContractInputBuilder
fn clone(&self) -> GetAssetContractInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetAssetContractInputBuilder
impl Debug for GetAssetContractInputBuilder
source§impl Default for GetAssetContractInputBuilder
impl Default for GetAssetContractInputBuilder
source§fn default() -> GetAssetContractInputBuilder
fn default() -> GetAssetContractInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAssetContractInputBuilder
impl PartialEq for GetAssetContractInputBuilder
source§fn eq(&self, other: &GetAssetContractInputBuilder) -> bool
fn eq(&self, other: &GetAssetContractInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAssetContractInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetAssetContractInputBuilder
impl Send for GetAssetContractInputBuilder
impl Sync for GetAssetContractInputBuilder
impl Unpin for GetAssetContractInputBuilder
impl UnwindSafe for GetAssetContractInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.