#[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 ==
.impl StructuralPartialEq for MemberFabricConfiguration
Auto Trait Implementations§
impl Freeze for MemberFabricConfiguration
impl RefUnwindSafe for MemberFabricConfiguration
impl Send for MemberFabricConfiguration
impl Sync for MemberFabricConfiguration
impl Unpin for MemberFabricConfiguration
impl UnwindSafe for MemberFabricConfiguration
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