pub struct AccountRecord {
pub alias: String,
pub api_key: String,
pub profile: AccountProfile,
pub is_default: bool,
pub daily_budget: Option<NonZeroU32>,
}Expand description
Full account record with secrets.
Fields§
§alias: String§api_key: String§profile: AccountProfile§is_default: bool§daily_budget: Option<NonZeroU32>Trait Implementations§
Source§impl Clone for AccountRecord
impl Clone for AccountRecord
Source§fn clone(&self) -> AccountRecord
fn clone(&self) -> AccountRecord
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 AccountRecord
impl Debug for AccountRecord
Source§impl PartialEq for AccountRecord
impl PartialEq for AccountRecord
impl Eq for AccountRecord
impl StructuralPartialEq for AccountRecord
Auto Trait Implementations§
impl Freeze for AccountRecord
impl RefUnwindSafe for AccountRecord
impl Send for AccountRecord
impl Sync for AccountRecord
impl Unpin for AccountRecord
impl UnwindSafe for AccountRecord
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