pub struct ProfileConfig {
    pub private_key: Option<Ed25519PrivateKey>,
    pub public_key: Option<Ed25519PublicKey>,
    pub account: Option<AccountAddress>,
    pub rest_url: Option<String>,
    pub faucet_url: Option<String>,
}
Expand description

An individual profile

Fields

private_key: Option<Ed25519PrivateKey>

Private key for commands.

public_key: Option<Ed25519PublicKey>

Public key for commands

account: Option<AccountAddress>

Account for commands

rest_url: Option<String>

URL for the Aptos rest endpoint

faucet_url: Option<String>

URL for the Faucet endpoint (if applicable)

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

Generates a hash used only for tests.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.