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: i32,
pub notes: Option<String>,
pub price: i32,
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: AccountTypecancellation_billing_invoice_item_id: Option<String>cancelled: Option<bool>created_time: Stringcreation_billing_invoice_item_id: Option<String>end_time: Stringid: i32notes: Option<String>price: i32quantum_processor_id: Stringstart_time: Stringupdated_time: Option<String>user_id: StringDeprecated in favor of accountId.
Implementations
sourceimpl Reservation
impl Reservation
Trait Implementations
sourceimpl Clone for Reservation
impl Clone for Reservation
sourcefn clone(&self) -> Reservation
fn clone(&self) -> Reservation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Reservation
impl Debug for Reservation
sourceimpl Default for Reservation
impl Default for Reservation
sourcefn default() -> Reservation
fn default() -> Reservation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Reservation
impl<'de> Deserialize<'de> for Reservation
sourcefn 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
sourceimpl PartialEq<Reservation> for Reservation
impl PartialEq<Reservation> for Reservation
sourcefn eq(&self, other: &Reservation) -> bool
fn eq(&self, other: &Reservation) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more