pub struct MarketTransaction {
pub id: MarketTransactionId,
pub date: OffsetDateTime,
pub status: TransactionStatus,
pub server_id: Option<ServerId>,
pub authorized_keys: Vec<InitialProductSshKey>,
pub host_keys: Vec<HostKey>,
pub comment: Option<String>,
pub product: PurchasedMarketProduct,
}Expand description
Describes the purchase of a single Hetzner market (auction) server.
Fields§
§id: MarketTransactionIdUnique transaction ID.
date: OffsetDateTimeTimestamp for the purchase.
status: TransactionStatusStatus of the transaction.
server_id: Option<ServerId>Server ID of the purchased server.
Keys authorized to access the rescue system via SSH.
host_keys: Vec<HostKey>Host keys associated with the product.
comment: Option<String>Optional comment associated with the purchase.
product: PurchasedMarketProductSummary of the purchased product configuration.
Trait Implementations§
Source§impl Clone for MarketTransaction
impl Clone for MarketTransaction
Source§fn clone(&self) -> MarketTransaction
fn clone(&self) -> MarketTransaction
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 MarketTransaction
impl Debug for MarketTransaction
Source§impl<'de> Deserialize<'de> for MarketTransaction
impl<'de> Deserialize<'de> for MarketTransaction
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
Auto Trait Implementations§
impl Freeze for MarketTransaction
impl RefUnwindSafe for MarketTransaction
impl Send for MarketTransaction
impl Sync for MarketTransaction
impl Unpin for MarketTransaction
impl UnwindSafe for MarketTransaction
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