Struct stellar_client::resources::operation::SetOptions[][src]

pub struct SetOptions { /* fields omitted */ }

Use “Set Options” operation to set following options to your account:

Set/clear account flags: AUTH_REQUIRED_FLAG (0x1) - if set, TrustLines are created with authorized set to false requiring the issuer to set it for each TrustLine. AUTH_REVOCABLE_FLAG (0x2) - if set, the authorized flag in TrustLines can be cleared. Otherwise, authorization cannot be revoked. Set the account’s inflation destination. Add new signers to the account. Set home domain.

Methods

impl SetOptions
[src]

Creates a new SetOptions. Please note that thresholds tuple goes from low to high.

The public key of the new signer.

The weight of the new signer (1-255).

The weight of the master key (1-255).

The sum weight for the low threshold.

The sum weight for the medium threshold.

The sum weight for the high threshold.

The home domain used for reverse federation lookup

The flags that have been set in this operation

The flags that have been cleared in this operation

Trait Implementations

impl Debug for SetOptions
[src]

Formats the value using the given formatter. Read more

impl Clone for SetOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SetOptions

impl Sync for SetOptions