#[non_exhaustive]pub struct MemberFabricConfiguration {
pub admin_username: String,
pub admin_password: String,
}
Expand description
Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network that is using the Hyperledger Fabric framework.
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.admin_username: String
The user name for the member's initial administrative user.
admin_password: String
The password for the member's initial administrative user. The AdminPassword
must be at least 8 characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.
Implementations§
source§impl MemberFabricConfiguration
impl MemberFabricConfiguration
sourcepub fn admin_username(&self) -> &str
pub fn admin_username(&self) -> &str
The user name for the member's initial administrative user.
sourcepub fn admin_password(&self) -> &str
pub fn admin_password(&self) -> &str
The password for the member's initial administrative user. The AdminPassword
must be at least 8 characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.
source§impl MemberFabricConfiguration
impl MemberFabricConfiguration
sourcepub fn builder() -> MemberFabricConfigurationBuilder
pub fn builder() -> MemberFabricConfigurationBuilder
Creates a new builder-style object to manufacture MemberFabricConfiguration
.
Trait Implementations§
source§impl Clone for MemberFabricConfiguration
impl Clone for MemberFabricConfiguration
source§fn clone(&self) -> MemberFabricConfiguration
fn clone(&self) -> MemberFabricConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemberFabricConfiguration
impl Debug for MemberFabricConfiguration
source§impl PartialEq for MemberFabricConfiguration
impl PartialEq for MemberFabricConfiguration
source§fn eq(&self, other: &MemberFabricConfiguration) -> bool
fn eq(&self, other: &MemberFabricConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.