Struct qcs_api_client_openapi::models::reservation::Reservation
source · pub struct Reservation {Show 14 fields
pub account_id: String,
pub account_type: AccountType,
pub cancellation_billing_invoice_item_id: Option<String>,
pub cancelled: Option<bool>,
pub created_time: String,
pub creation_billing_invoice_item_id: Option<String>,
pub end_time: String,
pub id: i64,
pub notes: Option<String>,
pub price: i64,
pub quantum_processor_id: String,
pub start_time: String,
pub updated_time: Option<String>,
pub user_id: String,
}Fields§
§account_id: StringuserId for accountType "user", group name for accountType "group".
account_type: AccountType§cancellation_billing_invoice_item_id: Option<String>§cancelled: Option<bool>§created_time: String§creation_billing_invoice_item_id: Option<String>§end_time: String§id: i64§notes: Option<String>§price: i64§quantum_processor_id: String§start_time: String§updated_time: Option<String>§user_id: StringDeprecated in favor of accountId.
Implementations§
source§impl Reservation
impl Reservation
Trait Implementations§
source§impl Clone for Reservation
impl Clone for Reservation
source§fn clone(&self) -> Reservation
fn clone(&self) -> Reservation
Returns a copy 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 Reservation
impl Debug for Reservation
source§impl Default for Reservation
impl Default for Reservation
source§fn default() -> Reservation
fn default() -> Reservation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Reservation
impl<'de> Deserialize<'de> for Reservation
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<Reservation> for Reservation
impl PartialEq<Reservation> for Reservation
source§fn eq(&self, other: &Reservation) -> bool
fn eq(&self, other: &Reservation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Reservation
impl Serialize for Reservation
impl StructuralPartialEq for Reservation
Auto Trait Implementations§
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnwindSafe for Reservation
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