Struct aws_sdk_managedblockchainquery::operation::get_asset_contract::GetAssetContractOutput
source · #[non_exhaustive]pub struct GetAssetContractOutput {
pub contract_identifier: Option<ContractIdentifier>,
pub token_standard: QueryTokenStandard,
pub deployer_address: String,
pub metadata: Option<ContractMetadata>,
/* private fields */
}
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.contract_identifier: Option<ContractIdentifier>
Contains the blockchain address and network information about the contract.
token_standard: QueryTokenStandard
The token standard of the contract requested.
deployer_address: String
The address of the deployer of contract.
metadata: Option<ContractMetadata>
The metadata of the contract.
Implementations§
source§impl GetAssetContractOutput
impl GetAssetContractOutput
sourcepub fn contract_identifier(&self) -> Option<&ContractIdentifier>
pub fn contract_identifier(&self) -> Option<&ContractIdentifier>
Contains the blockchain address and network information about the contract.
sourcepub fn token_standard(&self) -> &QueryTokenStandard
pub fn token_standard(&self) -> &QueryTokenStandard
The token standard of the contract requested.
sourcepub fn deployer_address(&self) -> &str
pub fn deployer_address(&self) -> &str
The address of the deployer of contract.
sourcepub fn metadata(&self) -> Option<&ContractMetadata>
pub fn metadata(&self) -> Option<&ContractMetadata>
The metadata of the contract.
source§impl GetAssetContractOutput
impl GetAssetContractOutput
sourcepub fn builder() -> GetAssetContractOutputBuilder
pub fn builder() -> GetAssetContractOutputBuilder
Creates a new builder-style object to manufacture GetAssetContractOutput
.
Trait Implementations§
source§impl Clone for GetAssetContractOutput
impl Clone for GetAssetContractOutput
source§fn clone(&self) -> GetAssetContractOutput
fn clone(&self) -> GetAssetContractOutput
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 GetAssetContractOutput
impl Debug for GetAssetContractOutput
source§impl PartialEq for GetAssetContractOutput
impl PartialEq for GetAssetContractOutput
source§fn eq(&self, other: &GetAssetContractOutput) -> bool
fn eq(&self, other: &GetAssetContractOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetAssetContractOutput
impl RequestId for GetAssetContractOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetAssetContractOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetAssetContractOutput
impl Send for GetAssetContractOutput
impl Sync for GetAssetContractOutput
impl Unpin for GetAssetContractOutput
impl UnwindSafe for GetAssetContractOutput
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.