pub struct FlowVersion {
pub version: u32,
pub source_hash: String,
pub source: String,
pub source_file: String,
pub backend: String,
pub flow_names: Vec<String>,
pub deployed_at: Duration,
pub active: bool,
}Expand description
A single version of a deployed flow.
Fields§
§version: u32Version number (1-indexed, monotonic per flow).
source_hash: StringSHA-256 hash of the source code (first 12 hex chars).
source: StringFull source snapshot for rollback.
source_file: StringOriginal filename.
backend: StringBackend used for compilation.
flow_names: Vec<String>Flow names extracted from this source.
deployed_at: DurationTime of deployment (elapsed since registry creation).
active: boolWhether this version is currently active.
Trait Implementations§
Source§impl Clone for FlowVersion
impl Clone for FlowVersion
Source§fn clone(&self) -> FlowVersion
fn clone(&self) -> FlowVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlowVersion
impl Debug for FlowVersion
Auto Trait Implementations§
impl Freeze for FlowVersion
impl RefUnwindSafe for FlowVersion
impl Send for FlowVersion
impl Sync for FlowVersion
impl Unpin for FlowVersion
impl UnsafeUnpin for FlowVersion
impl UnwindSafe for FlowVersion
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreCreates a shared type from an unshared type.