Struct etrade::Credentials
source · pub struct Credentials {
pub key: SecUtf8,
pub secret: SecUtf8,
}
Fields§
§key: SecUtf8
§secret: SecUtf8
Implementations§
source§impl Credentials
impl Credentials
pub fn new(key: SecUtf8, secret: SecUtf8) -> Credentials
Trait Implementations§
source§impl Clone for Credentials
impl Clone for Credentials
source§fn clone(&self) -> Credentials
fn clone(&self) -> Credentials
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 Credentials
impl Debug for Credentials
source§impl<T> From<Credentials<T>> for Credentialswhere
T: Into<SecUtf8>,
impl<T> From<Credentials<T>> for Credentialswhere T: Into<SecUtf8>,
source§fn from(input: Credentials<T>) -> Self
fn from(input: Credentials<T>) -> Self
Converts to this type from the input type.
source§impl Into<Credentials<String>> for Credentials
impl Into<Credentials<String>> for Credentials
source§fn into(self) -> Credentials
fn into(self) -> Credentials
Converts this type into the (usually inferred) input type.