pub struct CreateAccountOperation {
pub source: Option<PublicKey>,
pub destination: PublicKey,
pub balance: Amount,
}Expand description
Create and fund a new account.
Fields§
§source: Option<PublicKey>The source account for the operation.
destination: PublicKeyNew account id.
balance: AmountAmount (in XLM) the account should be funded for. Must be greater than the reserve balance amount
Trait Implementations§
Source§impl Clone for CreateAccountOperation
impl Clone for CreateAccountOperation
Source§fn clone(&self) -> CreateAccountOperation
fn clone(&self) -> CreateAccountOperation
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 CreateAccountOperation
impl Debug for CreateAccountOperation
Source§impl PartialEq for CreateAccountOperation
impl PartialEq for CreateAccountOperation
impl Eq for CreateAccountOperation
impl StructuralPartialEq for CreateAccountOperation
Auto Trait Implementations§
impl Freeze for CreateAccountOperation
impl RefUnwindSafe for CreateAccountOperation
impl Send for CreateAccountOperation
impl Sync for CreateAccountOperation
impl Unpin for CreateAccountOperation
impl UnwindSafe for CreateAccountOperation
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