pub struct AuctionMetaData {
pub from: OffsetDateTime,
pub thru: OffsetDateTime,
}Expand description
A simple struct for the external identification of an auction.
Provides the time interval of an auction for external reference.
Fields§
§from: OffsetDateTimeThe starting time of the auction interval
thru: OffsetDateTimeThe ending time of the auction interval
Trait Implementations§
Source§impl ComposeSchema for AuctionMetaData
impl ComposeSchema for AuctionMetaData
Source§impl Serialize for AuctionMetaData
impl Serialize for AuctionMetaData
Auto Trait Implementations§
impl Freeze for AuctionMetaData
impl RefUnwindSafe for AuctionMetaData
impl Send for AuctionMetaData
impl Sync for AuctionMetaData
impl Unpin for AuctionMetaData
impl UnwindSafe for AuctionMetaData
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