pub struct Offer { /* private fields */ }Implementations§
Trait Implementations§
impl Copy for Offer
impl Eq for Offer
Source§impl LedgerObjectCommonFields for Offer
impl LedgerObjectCommonFields for Offer
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 OfferFields for Offer
impl OfferFields for Offer
Source§fn sequence(&self) -> Result<u32>
fn sequence(&self) -> Result<u32>
The
Sequence value of the OfferCreate transaction that created this offer. Used in
combination with the Account to identify this offer.Source§fn taker_pays(&self) -> Result<Amount>
fn taker_pays(&self) -> Result<Amount>
The remaining amount and type of currency requested by the offer creator.
Source§fn taker_gets(&self) -> Result<Amount>
fn taker_gets(&self) -> Result<Amount>
The remaining amount and type of currency being provided by the offer creator.
Source§fn book_directory(&self) -> Result<Hash256>
fn book_directory(&self) -> Result<Hash256>
The ID of the offer directory that links to this offer.
Source§fn book_node(&self) -> Result<u64>
fn book_node(&self) -> Result<u64>
A hint indicating which page of the offer directory links to this entry, in case the
directory consists of multiple pages.
Source§fn owner_node(&self) -> Result<u64>
fn owner_node(&self) -> Result<u64>
A hint indicating which page of the owner directory links to this entry, in case the
directory consists of multiple pages.
Source§fn previous_txn_id(&self) -> Result<Hash256>
fn previous_txn_id(&self) -> Result<Hash256>
The identifying hash of the transaction that most recently modified this entry.
Source§fn previous_txn_lgr_seq(&self) -> Result<u32>
fn previous_txn_lgr_seq(&self) -> Result<u32>
The index of the ledger that contains the transaction that most recently modified this
object.
impl StructuralPartialEq for Offer
Auto Trait Implementations§
impl Freeze for Offer
impl RefUnwindSafe for Offer
impl Send for Offer
impl Sync for Offer
impl Unpin for Offer
impl UnsafeUnpin for Offer
impl UnwindSafe for Offer
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