pub struct PixAddress {
pub account_holder: AccountHolderDetails,
pub pix_key: String,
pub key_type: KeyType,
pub bank_name: Option<String>,
pub bank_code: Option<String>,
}Fields§
§account_holder: AccountHolderDetails§pix_key: String§key_type: KeyType§bank_name: Option<String>§bank_code: Option<String>Implementations§
Source§impl PixAddress
impl PixAddress
pub fn new( account_holder: AccountHolderDetails, pix_key: String, key_type: KeyType, ) -> PixAddress
Trait Implementations§
Source§impl Clone for PixAddress
impl Clone for PixAddress
Source§fn clone(&self) -> PixAddress
fn clone(&self) -> PixAddress
Returns a duplicate 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 PixAddress
impl Debug for PixAddress
Source§impl Default for PixAddress
impl Default for PixAddress
Source§fn default() -> PixAddress
fn default() -> PixAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PixAddress
impl<'de> Deserialize<'de> for PixAddress
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 PartialEq for PixAddress
impl PartialEq for PixAddress
Source§impl Serialize for PixAddress
impl Serialize for PixAddress
impl StructuralPartialEq for PixAddress
Auto Trait Implementations§
impl Freeze for PixAddress
impl RefUnwindSafe for PixAddress
impl Send for PixAddress
impl Sync for PixAddress
impl Unpin for PixAddress
impl UnwindSafe for PixAddress
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