Struct aws_sdk_managedblockchain::types::Accessor
source · #[non_exhaustive]pub struct Accessor {
pub id: Option<String>,
pub type: Option<AccessorType>,
pub billing_token: Option<String>,
pub status: Option<AccessorStatus>,
pub creation_date: Option<DateTime>,
pub arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub network_type: Option<AccessorNetworkType>,
}
Expand description
The properties of the Accessor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The unique identifier of the accessor.
type: Option<AccessorType>
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
billing_token: Option<String>
The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.
status: Option<AccessorStatus>
The current status of the accessor.
creation_date: Option<DateTime>
The creation date and time of the accessor.
arn: Option<String>
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
network_type: Option<AccessorNetworkType>
The blockchain network that the Accessor token is created for.
Implementations§
source§impl Accessor
impl Accessor
sourcepub fn type(&self) -> Option<&AccessorType>
pub fn type(&self) -> Option<&AccessorType>
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
sourcepub fn billing_token(&self) -> Option<&str>
pub fn billing_token(&self) -> Option<&str>
The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.
sourcepub fn status(&self) -> Option<&AccessorStatus>
pub fn status(&self) -> Option<&AccessorStatus>
The current status of the accessor.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The creation date and time of the accessor.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
sourcepub fn network_type(&self) -> Option<&AccessorNetworkType>
pub fn network_type(&self) -> Option<&AccessorNetworkType>
The blockchain network that the Accessor token is created for.
Trait Implementations§
source§impl PartialEq for Accessor
impl PartialEq for Accessor
impl StructuralPartialEq for Accessor
Auto Trait Implementations§
impl Freeze for Accessor
impl RefUnwindSafe for Accessor
impl Send for Accessor
impl Sync for Accessor
impl Unpin for Accessor
impl UnwindSafe for Accessor
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
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>
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>
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>
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