#[non_exhaustive]pub struct NetworkFabricAttributes {
pub ordering_service_endpoint: Option<String>,
pub edition: Option<Edition>,
}
Expand description
Attributes of Hyperledger Fabric for a network.
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.ordering_service_endpoint: Option<String>
The endpoint of the ordering service for the network.
edition: Option<Edition>
The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.
Implementations§
source§impl NetworkFabricAttributes
impl NetworkFabricAttributes
sourcepub fn ordering_service_endpoint(&self) -> Option<&str>
pub fn ordering_service_endpoint(&self) -> Option<&str>
The endpoint of the ordering service for the network.
sourcepub fn edition(&self) -> Option<&Edition>
pub fn edition(&self) -> Option<&Edition>
The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.
source§impl NetworkFabricAttributes
impl NetworkFabricAttributes
sourcepub fn builder() -> NetworkFabricAttributesBuilder
pub fn builder() -> NetworkFabricAttributesBuilder
Creates a new builder-style object to manufacture NetworkFabricAttributes
.
Trait Implementations§
source§impl Clone for NetworkFabricAttributes
impl Clone for NetworkFabricAttributes
source§fn clone(&self) -> NetworkFabricAttributes
fn clone(&self) -> NetworkFabricAttributes
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 NetworkFabricAttributes
impl Debug for NetworkFabricAttributes
source§impl PartialEq for NetworkFabricAttributes
impl PartialEq for NetworkFabricAttributes
source§fn eq(&self, other: &NetworkFabricAttributes) -> bool
fn eq(&self, other: &NetworkFabricAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkFabricAttributes
Auto Trait Implementations§
impl Freeze for NetworkFabricAttributes
impl RefUnwindSafe for NetworkFabricAttributes
impl Send for NetworkFabricAttributes
impl Sync for NetworkFabricAttributes
impl Unpin for NetworkFabricAttributes
impl UnwindSafe for NetworkFabricAttributes
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.