Struct qcs_api::models::reservation::Reservation [−][src]
pub struct Reservation {
pub account_id: String,
pub account_type: AccountType,
pub cancelled: Option<bool>,
pub created_time: 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: AccountTypecancelled: Option<bool>created_time: Stringend_time: Stringid: i32notes: Option<String>price: i32quantum_processor_id: Stringstart_time: Stringupdated_time: Option<String>user_id: StringDeprecated in favor of accountId.
Implementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more