pub struct OfferEntry {
pub seller_id: AccountId,
pub offer_id: Int64,
pub selling: Asset,
pub buying: Asset,
pub amount: Int64,
pub price: Price,
pub flags: Uint32,
pub ext: OfferEntryExt,
}Expand description
Autogenerated definition for type OfferEntry
Fields§
§seller_id: AccountId§offer_id: Int64§selling: Asset§buying: Asset§amount: Int64§price: Price§flags: Uint32§ext: OfferEntryExtTrait Implementations§
Source§impl Clone for OfferEntry
impl Clone for OfferEntry
Source§fn clone(&self) -> OfferEntry
fn clone(&self) -> OfferEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OfferEntry
impl Debug for OfferEntry
Source§impl PartialEq for OfferEntry
impl PartialEq for OfferEntry
Source§impl XdrCodec for OfferEntry
impl XdrCodec for OfferEntry
Source§fn to_xdr_buffered(&self, write_stream: &mut WriteStream)
fn to_xdr_buffered(&self, write_stream: &mut WriteStream)
Encode the XDR to a write stream Read more
Source§fn from_xdr_buffered<T: AsRef<[u8]>>(
read_stream: &mut ReadStream<T>,
) -> Result<Self, DecodeError>
fn from_xdr_buffered<T: AsRef<[u8]>>( read_stream: &mut ReadStream<T>, ) -> Result<Self, DecodeError>
Decode the XDR from a read stream Read more
Source§fn from_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
fn from_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
Decode XDR provided as a reference to a byte vector Read more
Source§fn from_base64_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
fn from_base64_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
Decode this type from base64 encoded XDR Read more
impl Eq for OfferEntry
impl StructuralPartialEq for OfferEntry
Auto Trait Implementations§
impl Freeze for OfferEntry
impl RefUnwindSafe for OfferEntry
impl Send for OfferEntry
impl Sync for OfferEntry
impl Unpin for OfferEntry
impl UnwindSafe for OfferEntry
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
Mutably borrows from an owned value. Read more