Struct aws_sdk_managedblockchain::model::Network
source · [−]#[non_exhaustive]pub struct Network {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub framework: Option<Framework>,
pub framework_version: Option<String>,
pub framework_attributes: Option<NetworkFrameworkAttributes>,
pub vpc_endpoint_service_name: Option<String>,
pub voting_policy: Option<VotingPolicy>,
pub status: Option<NetworkStatus>,
pub creation_date: Option<DateTime>,
pub tags: Option<HashMap<String, String>>,
pub arn: Option<String>,
}Expand description
Network configuration properties.
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 network.
name: Option<String>The name of the network.
description: Option<String>Attributes of the blockchain framework for the network.
framework: Option<Framework>The blockchain framework that the network uses.
framework_version: Option<String>The version of the blockchain framework that the network uses.
framework_attributes: Option<NetworkFrameworkAttributes>Attributes of the blockchain framework that the network uses.
vpc_endpoint_service_name: Option<String>The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
voting_policy: Option<VotingPolicy>The voting rules for the network to decide if a proposal is accepted.
status: Option<NetworkStatus>The current status of the network.
creation_date: Option<DateTime>The date and time that the network was created.
Tags assigned to the network. Each tag consists of a key and optional value.
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.
arn: Option<String>The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
Implementations
sourceimpl Network
impl Network
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Attributes of the blockchain framework for the network.
sourcepub fn framework_version(&self) -> Option<&str>
pub fn framework_version(&self) -> Option<&str>
The version of the blockchain framework that the network uses.
sourcepub fn framework_attributes(&self) -> Option<&NetworkFrameworkAttributes>
pub fn framework_attributes(&self) -> Option<&NetworkFrameworkAttributes>
Attributes of the blockchain framework that the network uses.
sourcepub fn vpc_endpoint_service_name(&self) -> Option<&str>
pub fn vpc_endpoint_service_name(&self) -> Option<&str>
The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
sourcepub fn voting_policy(&self) -> Option<&VotingPolicy>
pub fn voting_policy(&self) -> Option<&VotingPolicy>
The voting rules for the network to decide if a proposal is accepted.
sourcepub fn status(&self) -> Option<&NetworkStatus>
pub fn status(&self) -> Option<&NetworkStatus>
The current status of the network.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date and time that the network was created.
Tags assigned to the network. Each tag consists of a key and optional value.
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 arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
Trait Implementations
impl StructuralPartialEq for Network
Auto Trait Implementations
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more