pub struct DirectoryNode { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for DirectoryNode
impl Clone for DirectoryNode
Source§fn clone(&self) -> DirectoryNode
fn clone(&self) -> DirectoryNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DirectoryNode
Source§impl Debug for DirectoryNode
impl Debug for DirectoryNode
Source§impl DirectoryNodeFields for DirectoryNode
impl DirectoryNodeFields for DirectoryNode
Source§fn owner(&self) -> Result<Option<AccountID>>
fn owner(&self) -> Result<Option<AccountID>>
(Owner directories only) The address of the account that owns the objects in this directory.
Source§fn taker_pays_currency(&self) -> Result<Option<Hash160>>
fn taker_pays_currency(&self) -> Result<Option<Hash160>>
(Offer directories only) The currency code of the
TakerPays amount from the offers in this
directory.Source§fn taker_pays_issuer(&self) -> Result<Option<Hash160>>
fn taker_pays_issuer(&self) -> Result<Option<Hash160>>
(Offer directories only) The issuer of the
TakerPays amount from the offers in this
directory.Source§fn taker_gets_currency(&self) -> Result<Option<Hash160>>
fn taker_gets_currency(&self) -> Result<Option<Hash160>>
(Offer directories only) The currency code of the
TakerGets amount from the offers in this
directory.Source§fn taker_gets_issuer(&self) -> Result<Option<Hash160>>
fn taker_gets_issuer(&self) -> Result<Option<Hash160>>
(Offer directories only) The issuer of the
TakerGets amount from the offers in this
directory.Source§fn exchange_rate(&self) -> Result<Option<u64>>
fn exchange_rate(&self) -> Result<Option<u64>>
(Offer directories only) DEPRECATED. Do not use.
Source§fn indexes(&self) -> Result<[u8; 512]>
fn indexes(&self) -> Result<[u8; 512]>
The contents of this directory: an array of IDs of other objects.
Raw bytes; VECTOR256 is not yet typed in Rust.
Source§fn root_index(&self) -> Result<Hash256>
fn root_index(&self) -> Result<Hash256>
The ID of root object for this directory.
Source§fn index_next(&self) -> Result<Option<u64>>
fn index_next(&self) -> Result<Option<u64>>
If this directory consists of multiple pages, this ID links to the next object in the chain,
wrapping around at the end.
Source§fn index_previous(&self) -> Result<Option<u64>>
fn index_previous(&self) -> Result<Option<u64>>
If this directory consists of multiple pages, this ID links to the previous object in the
chain, wrapping around at the beginning.
Source§fn nftoken_id(&self) -> Result<Option<Hash256>>
fn nftoken_id(&self) -> Result<Option<Hash256>>
(NFT offer directories only) ID of the NFT in a buy or sell offer.
Source§fn previous_txn_id(&self) -> Result<Option<Hash256>>
fn previous_txn_id(&self) -> Result<Option<Hash256>>
The identifying hash of the transaction that most recently modified this entry.
impl Eq for DirectoryNode
Source§impl LedgerObjectCommonFields for DirectoryNode
impl LedgerObjectCommonFields for DirectoryNode
Source§fn get_slot_num(&self) -> i32
fn get_slot_num(&self) -> i32
Returns the slot number (register number) where the ledger object is stored. Read more
Source§fn path(&self) -> LedgerPathBuilder
fn path(&self) -> LedgerPathBuilder
Starts a nested-field path rooted at this ledger object, read through its slot. Read more
Source§impl PartialEq for DirectoryNode
impl PartialEq for DirectoryNode
impl StructuralPartialEq for DirectoryNode
Auto Trait Implementations§
impl Freeze for DirectoryNode
impl RefUnwindSafe for DirectoryNode
impl Send for DirectoryNode
impl Sync for DirectoryNode
impl Unpin for DirectoryNode
impl UnsafeUnpin for DirectoryNode
impl UnwindSafe for DirectoryNode
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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