pub struct AccountHash(/* private fields */);Expand description
Encrypted account-number hash returned by GET /accounts/accountNumbers.
Schwab requires this value (not the plain account number) in the
{accountNumber} path segment of subsequent REST calls.
§Security
Account-linked identifier. Schwab encrypts the account number
before issuing this hash, so it is less directly sensitive than
AccountNumber, but it is still a stable account identifier
that an attacker could use to correlate activity. Treat as PII:
do not log, do not include in error variants, do not share
outside the SDK boundary. Debug redacts and Drop zeroises;
see the module-level threat model for the limits of those
properties.
Implementations§
Source§impl AccountHash
impl AccountHash
Trait Implementations§
Source§impl Clone for AccountHash
impl Clone for AccountHash
Source§fn clone(&self) -> AccountHash
fn clone(&self) -> AccountHash
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountHash
impl Debug for AccountHash
Source§impl<'de> Deserialize<'de> for AccountHash
impl<'de> Deserialize<'de> for AccountHash
Source§fn 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
Source§impl From<&str> for AccountHash
impl From<&str> for AccountHash
Source§impl From<SecretBox<str>> for AccountHash
impl From<SecretBox<str>> for AccountHash
Source§fn from(value: SecretString) -> Self
fn from(value: SecretString) -> Self
Converts to this type from the input type.
Source§impl From<String> for AccountHash
impl From<String> for AccountHash
Auto Trait Implementations§
impl Freeze for AccountHash
impl RefUnwindSafe for AccountHash
impl Send for AccountHash
impl Sync for AccountHash
impl Unpin for AccountHash
impl UnsafeUnpin for AccountHash
impl UnwindSafe for AccountHash
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
Mutably borrows from an owned value. Read more