pub struct SetupResult {
pub completed: bool,
pub account: Option<Account>,
pub starting_balance: Money,
}Expand description
Result of running the setup wizard
Fields§
§completed: boolWhether setup was completed successfully
account: Option<Account>The created account (if any)
starting_balance: MoneyStarting balance added to Available to Budget
Auto Trait Implementations§
impl Freeze for SetupResult
impl RefUnwindSafe for SetupResult
impl Send for SetupResult
impl Sync for SetupResult
impl Unpin for SetupResult
impl UnwindSafe for SetupResult
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more