Struct aptos_cli_config::ProfileConfig
source · [−]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
sourceimpl Debug for ProfileConfig
impl Debug for ProfileConfig
sourceimpl Default for ProfileConfig
impl Default for ProfileConfig
sourcefn default() -> ProfileConfig
fn default() -> ProfileConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProfileConfig
impl<'de> Deserialize<'de> for ProfileConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ProfileConfig
impl Serialize for ProfileConfig
Auto Trait Implementations
impl RefUnwindSafe for ProfileConfig
impl Send for ProfileConfig
impl Sync for ProfileConfig
impl Unpin for ProfileConfig
impl UnwindSafe for ProfileConfig
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> TestOnlyHash for T where
T: Serialize + ?Sized,
impl<T> TestOnlyHash for T where
T: Serialize + ?Sized,
sourcefn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.