pub struct UserAccount {
pub broker_account_type: BrokerAccountType,
pub broker_account_id: String,
}Fields§
§broker_account_type: BrokerAccountType§broker_account_id: StringImplementations§
Source§impl UserAccount
impl UserAccount
pub fn new( broker_account_type: BrokerAccountType, broker_account_id: String, ) -> UserAccount
Trait Implementations§
Source§impl Clone for UserAccount
impl Clone for UserAccount
Source§fn clone(&self) -> UserAccount
fn clone(&self) -> UserAccount
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 UserAccount
impl Debug for UserAccount
Source§impl<'de> Deserialize<'de> for UserAccount
impl<'de> Deserialize<'de> for UserAccount
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 UserAccount
impl PartialEq for UserAccount
Source§impl Serialize for UserAccount
impl Serialize for UserAccount
impl StructuralPartialEq for UserAccount
Auto Trait Implementations§
impl Freeze for UserAccount
impl RefUnwindSafe for UserAccount
impl Send for UserAccount
impl Sync for UserAccount
impl Unpin for UserAccount
impl UnwindSafe for UserAccount
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