Struct aws_sdk_managedblockchainquery::operation::get_asset_contract::builders::GetAssetContractOutputBuilder    
source · #[non_exhaustive]pub struct GetAssetContractOutputBuilder { /* private fields */ }Expand description
A builder for GetAssetContractOutput.
Implementations§
source§impl GetAssetContractOutputBuilder
 
impl GetAssetContractOutputBuilder
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 token_standard(self, input: QueryTokenStandard) -> Self
 
pub fn token_standard(self, input: QueryTokenStandard) -> Self
The token standard of the contract requested.
This field is required.sourcepub fn set_token_standard(self, input: Option<QueryTokenStandard>) -> Self
 
pub fn set_token_standard(self, input: Option<QueryTokenStandard>) -> Self
The token standard of the contract requested.
sourcepub fn get_token_standard(&self) -> &Option<QueryTokenStandard>
 
pub fn get_token_standard(&self) -> &Option<QueryTokenStandard>
The token standard of the contract requested.
sourcepub fn deployer_address(self, input: impl Into<String>) -> Self
 
pub fn deployer_address(self, input: impl Into<String>) -> Self
The address of the deployer of contract.
This field is required.sourcepub fn set_deployer_address(self, input: Option<String>) -> Self
 
pub fn set_deployer_address(self, input: Option<String>) -> Self
The address of the deployer of contract.
sourcepub fn get_deployer_address(&self) -> &Option<String>
 
pub fn get_deployer_address(&self) -> &Option<String>
The address of the deployer of contract.
sourcepub fn metadata(self, input: ContractMetadata) -> Self
 
pub fn metadata(self, input: ContractMetadata) -> Self
The metadata of the contract.
sourcepub fn set_metadata(self, input: Option<ContractMetadata>) -> Self
 
pub fn set_metadata(self, input: Option<ContractMetadata>) -> Self
The metadata of the contract.
sourcepub fn get_metadata(&self) -> &Option<ContractMetadata>
 
pub fn get_metadata(&self) -> &Option<ContractMetadata>
The metadata of the contract.
sourcepub fn build(self) -> Result<GetAssetContractOutput, BuildError>
 
pub fn build(self) -> Result<GetAssetContractOutput, BuildError>
Consumes the builder and constructs a GetAssetContractOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetAssetContractOutputBuilder
 
impl Clone for GetAssetContractOutputBuilder
source§fn clone(&self) -> GetAssetContractOutputBuilder
 
fn clone(&self) -> GetAssetContractOutputBuilder
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 Default for GetAssetContractOutputBuilder
 
impl Default for GetAssetContractOutputBuilder
source§fn default() -> GetAssetContractOutputBuilder
 
fn default() -> GetAssetContractOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAssetContractOutputBuilder
 
impl PartialEq for GetAssetContractOutputBuilder
source§fn eq(&self, other: &GetAssetContractOutputBuilder) -> bool
 
fn eq(&self, other: &GetAssetContractOutputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetAssetContractOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetAssetContractOutputBuilder
impl Send for GetAssetContractOutputBuilder
impl Sync for GetAssetContractOutputBuilder
impl Unpin for GetAssetContractOutputBuilder
impl UnwindSafe for GetAssetContractOutputBuilder
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.