stellar-client 0.1.2

A client interface to the stellar Horizon API
Documentation
/// Removes the account and transfers all remaining XLM to the destination account.
#[derive(Debug, Clone)]
pub struct AccountMerge {
    account: String,
    into: String,
}

/// Removes the account and transfers all remaining XLM to the destination account.
impl AccountMerge {
    /// Creates a new AccountMerge
    pub fn new(account: String, into: String) -> AccountMerge {
        AccountMerge { account, into }
    }

    /// The account being deleted from the ledger
    pub fn account(&self) -> &str {
        &self.account
    }

    /// Account ID where funds of deleted account were transferred.
    pub fn into(&self) -> &str {
        &self.into
    }
}