pub struct CreateReservationRequest {
pub account_id: Option<String>,
pub account_type: Option<AccountType>,
pub end_time: String,
pub notes: Option<String>,
pub quantum_processor_id: String,
pub start_time: String,
}Fields§
§account_id: Option<String>userId for accountType "user", group name for accountType "group".
account_type: Option<AccountType>§end_time: String§notes: Option<String>§quantum_processor_id: String§start_time: StringImplementations§
Trait Implementations§
source§impl Clone for CreateReservationRequest
impl Clone for CreateReservationRequest
source§fn clone(&self) -> CreateReservationRequest
fn clone(&self) -> CreateReservationRequest
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 CreateReservationRequest
impl Debug for CreateReservationRequest
source§impl Default for CreateReservationRequest
impl Default for CreateReservationRequest
source§fn default() -> CreateReservationRequest
fn default() -> CreateReservationRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateReservationRequest
impl<'de> Deserialize<'de> for CreateReservationRequest
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 for CreateReservationRequest
impl PartialEq for CreateReservationRequest
source§fn eq(&self, other: &CreateReservationRequest) -> bool
fn eq(&self, other: &CreateReservationRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CreateReservationRequest
impl Serialize for CreateReservationRequest
impl StructuralPartialEq for CreateReservationRequest
Auto Trait Implementations§
impl Freeze for CreateReservationRequest
impl RefUnwindSafe for CreateReservationRequest
impl Send for CreateReservationRequest
impl Sync for CreateReservationRequest
impl Unpin for CreateReservationRequest
impl UnwindSafe for CreateReservationRequest
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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