[−][src]Struct algorand_rs::auction::Bid
A bid by a user as part of an auction.
Fields
auction_id: u64
Identifies the auction for which this bid is intended
auction_key: Address
The auction for this bid.
bidder_key: Address
The bidder placing this bid.
bid_currency: u64
How much external currency the bidder is putting in with this bid.
bid_id: u64
Identifies this bid. The first bid by a bidder with a particular bid_id on the blockchain will be considered, preventing replay of bids. Specifying a different bid_id allows the bidder to place multiple bids in an auction.
max_price: u64
The maximum price, in units of external currency per Algo, that the bidder is willing to pay. This must be as high as the current price of the auction in the block in which this bid appears.
Trait Implementations
impl Clone for Bid
[src]
impl Copy for Bid
[src]
impl Debug for Bid
[src]
impl<'de> Deserialize<'de> for Bid
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Bid
[src]
impl PartialEq<Bid> for Bid
[src]
impl Serialize for Bid
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Bid
[src]
impl StructuralPartialEq for Bid
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bid
[src]
impl Send for Bid
[src]
impl Sync for Bid
[src]
impl Unpin for Bid
[src]
impl UnwindSafe for Bid
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,