pub struct AccountBase {
pub id: String,
pub name: String,
}Fields§
§id: StringThe ID of the account
name: StringThe name of the account
Implementations§
Source§impl AccountBase
impl AccountBase
pub fn new(id: String, name: String) -> AccountBase
Trait Implementations§
Source§impl Clone for AccountBase
impl Clone for AccountBase
Source§fn clone(&self) -> AccountBase
fn clone(&self) -> AccountBase
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 AccountBase
impl Debug for AccountBase
Source§impl Default for AccountBase
impl Default for AccountBase
Source§fn default() -> AccountBase
fn default() -> AccountBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountBase
impl<'de> Deserialize<'de> for AccountBase
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 AccountBase
impl PartialEq for AccountBase
Source§impl Serialize for AccountBase
impl Serialize for AccountBase
impl StructuralPartialEq for AccountBase
Auto Trait Implementations§
impl Freeze for AccountBase
impl RefUnwindSafe for AccountBase
impl Send for AccountBase
impl Sync for AccountBase
impl Unpin for AccountBase
impl UnwindSafe for AccountBase
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