pub struct ContractBid {
pub amount: f64,
pub bid_id: i64,
pub bidder_id: i64,
pub date_bid: String,
}Expand description
A bid on an auction contract.
Fields§
§amount: f64Amount of the bid.
bid_id: i64ID of the bid.
bidder_id: i64Character ID of the bidder.
date_bid: StringDate of the bid.
Trait Implementations§
Source§impl Clone for ContractBid
impl Clone for ContractBid
Source§impl Debug for ContractBid
impl Debug for ContractBid
Source§impl<'de> Deserialize<'de> for ContractBid
impl<'de> Deserialize<'de> for ContractBid
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContractBid
impl PartialEq for ContractBid
Source§impl Serialize for ContractBid
impl Serialize for ContractBid
impl StructuralPartialEq for ContractBid
Auto Trait Implementations§
impl Freeze for ContractBid
impl RefUnwindSafe for ContractBid
impl Send for ContractBid
impl Sync for ContractBid
impl Unpin for ContractBid
impl UnsafeUnpin for ContractBid
impl UnwindSafe for ContractBid
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