pub struct SubmissionRecord {
pub auths: Vec<AuthRecord>,
pub costs: Vec<CostRecord>,
pub as_of: OffsetDateTime,
}Expand description
A submission represents a bidder’s complete set of active authorizations and costs that are considered for auction processing.
Submissions are not first-class primitives, but intermediate objects and not persisted entities. They’re constructed from the current state of a bidder’s auths and costs when needed for an auction.
Fields§
§auths: Vec<AuthRecord>A list of “active” auths
costs: Vec<CostRecord>A list of “active” costs
as_of: OffsetDateTimeThe system-time at which these lists were generated
Trait Implementations§
Source§impl ComposeSchema for SubmissionRecord
impl ComposeSchema for SubmissionRecord
Source§impl<'de> Deserialize<'de> for SubmissionRecord
impl<'de> Deserialize<'de> for SubmissionRecord
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 Serialize for SubmissionRecord
impl Serialize for SubmissionRecord
Auto Trait Implementations§
impl Freeze for SubmissionRecord
impl RefUnwindSafe for SubmissionRecord
impl Send for SubmissionRecord
impl Sync for SubmissionRecord
impl Unpin for SubmissionRecord
impl UnwindSafe for SubmissionRecord
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more