pub struct ActiveTaskReservation {
pub task_id: String,
pub status: TaskStatus,
pub reservation: TaskResourceReservation,
pub reserved_at: Option<DateTime<Utc>>,
}Fields§
§task_id: String§status: TaskStatus§reservation: TaskResourceReservation§reserved_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ActiveTaskReservation
impl Clone for ActiveTaskReservation
Source§fn clone(&self) -> ActiveTaskReservation
fn clone(&self) -> ActiveTaskReservation
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 ActiveTaskReservation
impl Debug for ActiveTaskReservation
Source§impl<'de> Deserialize<'de> for ActiveTaskReservation
impl<'de> Deserialize<'de> for ActiveTaskReservation
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 ActiveTaskReservation
impl PartialEq for ActiveTaskReservation
Source§impl Serialize for ActiveTaskReservation
impl Serialize for ActiveTaskReservation
impl StructuralPartialEq for ActiveTaskReservation
Auto Trait Implementations§
impl Freeze for ActiveTaskReservation
impl RefUnwindSafe for ActiveTaskReservation
impl Send for ActiveTaskReservation
impl Sync for ActiveTaskReservation
impl Unpin for ActiveTaskReservation
impl UnsafeUnpin for ActiveTaskReservation
impl UnwindSafe for ActiveTaskReservation
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