#[repr(u32)]pub enum AccountRootFlag {
LsfAmm = 33_554_432,
LsfDefaultRipple = 8_388_608,
LsfDepositAuth = 16_777_216,
LsfDisableMaster = 1_048_576,
LsfDisallowXRP = 524_288,
LsfGlobalFreeze = 4_194_304,
LsfNoFreeze = 2_097_152,
LsfPasswordSpent = 65_536,
LsfRequireAuth = 262_144,
LsfRequireDestTag = 131_072,
}
Expand description
There are several options which can be either enabled or disabled for an account.
These options can be changed with an AccountSet
transaction.
See AccountRoot
flags:
<https://xrpl.org/accountroot.html#accountroot-flags>
Variants§
LsfAmm = 33_554_432
This account is an Automated Market Maker instance.
LsfDefaultRipple = 8_388_608
Enable rippling on this addresses’s trust lines by default. Required for issuing addresses; discouraged for others.
LsfDepositAuth = 16_777_216
This account can only receive funds from transactions it sends, and from preauthorized
accounts. (It has DepositAuth
enabled.)
LsfDisableMaster = 1_048_576
Disallows use of the master key to sign transactions for this account.
LsfDisallowXRP = 524_288
Client applications should not send XRP to this account. Not enforced by rippled.
LsfGlobalFreeze = 4_194_304
All assets issued by this address are frozen.
LsfNoFreeze = 2_097_152
This address cannot freeze trust lines connected to it. Once enabled, cannot be disabled.
LsfPasswordSpent = 65_536
The account has used its free SetRegularKey transaction.
LsfRequireAuth = 262_144
This account must individually approve other users for those users to hold this account’s tokens.
LsfRequireDestTag = 131_072
Requires incoming payments to specify a Destination Tag.
Trait Implementations§
Source§impl AsRef<str> for AccountRootFlag
impl AsRef<str> for AccountRootFlag
Source§impl Clone for AccountRootFlag
impl Clone for AccountRootFlag
Source§fn clone(&self) -> AccountRootFlag
fn clone(&self) -> AccountRootFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AccountRootFlag
impl Debug for AccountRootFlag
Source§impl<'de> Deserialize<'de> for AccountRootFlag
impl<'de> Deserialize<'de> for AccountRootFlag
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for AccountRootFlag
impl Display for AccountRootFlag
Source§impl IntoEnumIterator for AccountRootFlag
impl IntoEnumIterator for AccountRootFlag
type Iterator = AccountRootFlagIter
fn iter() -> AccountRootFlagIter ⓘ
Source§impl<'a> LedgerObject<AccountRootFlag> for AccountRoot<'a>
impl<'a> LedgerObject<AccountRootFlag> for AccountRoot<'a>
fn get_ledger_entry_type(&self) -> LedgerEntryType
fn has_flag(&self, flag: &T) -> bool
Source§impl PartialEq for AccountRootFlag
impl PartialEq for AccountRootFlag
Source§impl Serialize for AccountRootFlag
impl Serialize for AccountRootFlag
impl Eq for AccountRootFlag
impl StructuralPartialEq for AccountRootFlag
Auto Trait Implementations§
impl Freeze for AccountRootFlag
impl RefUnwindSafe for AccountRootFlag
impl Send for AccountRootFlag
impl Sync for AccountRootFlag
impl Unpin for AccountRootFlag
impl UnwindSafe for AccountRootFlag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.