pub struct RescheduleEvent {
pub reschedule_time: i64,
pub prev_alloc_id: String,
pub prev_node_id: String,
}
Expand description
RescheduleEvent is used to keep track of previous attempts at rescheduling an allocation
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§reschedule_time: i64
RescheduleTime is the timestamp of a reschedule attempt
prev_alloc_id: String
PrevAllocID is the ID of the previous allocation being restarted
prev_node_id: String
PrevNodeID is the node ID of the previous allocation
Implementations§
Source§impl RescheduleEvent
impl RescheduleEvent
pub fn builder() -> RescheduleEventBuilder
Trait Implementations§
Source§impl Clone for RescheduleEvent
impl Clone for RescheduleEvent
Source§fn clone(&self) -> RescheduleEvent
fn clone(&self) -> RescheduleEvent
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 RescheduleEvent
impl Debug for RescheduleEvent
Source§impl<'de> Deserialize<'de> for RescheduleEvent
impl<'de> Deserialize<'de> for RescheduleEvent
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 RescheduleEvent
impl PartialEq for RescheduleEvent
Source§impl Serialize for RescheduleEvent
impl Serialize for RescheduleEvent
impl StructuralPartialEq for RescheduleEvent
Auto Trait Implementations§
impl Freeze for RescheduleEvent
impl RefUnwindSafe for RescheduleEvent
impl Send for RescheduleEvent
impl Sync for RescheduleEvent
impl Unpin for RescheduleEvent
impl UnwindSafe for RescheduleEvent
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