pub struct AccountNumber(/* private fields */);Expand description
Schwab account number. Appears in account-activity events and in response bodies for account lookups.
§Security
PII at financial-account sensitivity. Not used in REST URL
paths - per-account endpoints take the encrypted
AccountHash instead - but does appear in response payloads
and streamer account-activity frames. Do not log, do not embed
in error strings, do not transmit to third-party services.
Debug redacts and Drop zeroises; see the module-level
threat model for the limits of those properties.
Implementations§
Source§impl AccountNumber
impl AccountNumber
Trait Implementations§
Source§impl Clone for AccountNumber
impl Clone for AccountNumber
Source§fn clone(&self) -> AccountNumber
fn clone(&self) -> AccountNumber
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 AccountNumber
impl Debug for AccountNumber
Source§impl<'de> Deserialize<'de> for AccountNumber
impl<'de> Deserialize<'de> for AccountNumber
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 AccountNumber
impl From<&str> for AccountNumber
Source§impl From<SecretBox<str>> for AccountNumber
impl From<SecretBox<str>> for AccountNumber
Source§fn from(value: SecretString) -> Self
fn from(value: SecretString) -> Self
Converts to this type from the input type.
Source§impl From<String> for AccountNumber
impl From<String> for AccountNumber
Source§impl Hash for AccountNumber
impl Hash for AccountNumber
Source§impl PartialEq for AccountNumber
impl PartialEq for AccountNumber
Source§impl Serialize for AccountNumber
impl Serialize for AccountNumber
impl Eq for AccountNumber
Auto Trait Implementations§
impl Freeze for AccountNumber
impl RefUnwindSafe for AccountNumber
impl Send for AccountNumber
impl Sync for AccountNumber
impl Unpin for AccountNumber
impl UnsafeUnpin for AccountNumber
impl UnwindSafe for AccountNumber
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.