pub struct ExternalLoopState {
pub last_external_step_id: Option<u64>,
pub cooldown: CooldownTracker,
pub last_checkpoint_id: Option<String>,
pub last_checkpoint_uuid: Option<String>,
pub current_params: Option<BTreeMap<String, f64>>,
pub last_checkpoint_params: Option<BTreeMap<String, f64>>,
}Available on crate feature
std only.Expand description
Data structure representing external loop state.
Fields§
§last_external_step_id: Option<u64>Identifier for the last external step.
cooldown: CooldownTrackerCooldown for this value.
last_checkpoint_id: Option<String>Identifier for the last checkpoint.
last_checkpoint_uuid: Option<String>Most recent checkpoint UUID.
current_params: Option<BTreeMap<String, f64>>Optional current params.
last_checkpoint_params: Option<BTreeMap<String, f64>>Most recent checkpoint params.
Trait Implementations§
Source§impl Clone for ExternalLoopState
impl Clone for ExternalLoopState
Source§impl Debug for ExternalLoopState
impl Debug for ExternalLoopState
Source§impl<'de> Deserialize<'de> for ExternalLoopState
impl<'de> Deserialize<'de> for ExternalLoopState
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 ExternalLoopState
impl PartialEq for ExternalLoopState
Source§impl Serialize for ExternalLoopState
impl Serialize for ExternalLoopState
impl StructuralPartialEq for ExternalLoopState
Auto Trait Implementations§
impl Forget for ExternalLoopState
impl Freeze for ExternalLoopState
impl Move for ExternalLoopState
impl RefUnwindSafe for ExternalLoopState
impl Send for ExternalLoopState
impl Sync for ExternalLoopState
impl Unpin for ExternalLoopState
impl UnsafeUnpin for ExternalLoopStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, f64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, f64)>>: UnsafeUnpin,
impl UnwindSafe for ExternalLoopState
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