pub struct FunctionRecord {
pub pk_function: i64,
pub name: String,
pub runtime: RuntimeType,
pub bytecode: Bytes,
pub version: i32,
pub deployed_at: DateTime<Utc>,
pub status: FunctionStatus,
}Expand description
A stored function record representing one deployed version.
Fields§
§pk_function: i64Trinity-pattern primary key (pk_function).
name: StringUnique function name (scoped per tenant).
runtime: RuntimeTypeWhich runtime executes this function.
bytecode: BytesCompiled bytecode or source text.
version: i32Monotonically increasing deploy version (1-based).
deployed_at: DateTime<Utc>When this version was deployed.
status: FunctionStatusWhether this version is active.
Trait Implementations§
Source§impl Clone for FunctionRecord
impl Clone for FunctionRecord
Source§fn clone(&self) -> FunctionRecord
fn clone(&self) -> FunctionRecord
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 moreAuto Trait Implementations§
impl !Freeze for FunctionRecord
impl RefUnwindSafe for FunctionRecord
impl Send for FunctionRecord
impl Sync for FunctionRecord
impl Unpin for FunctionRecord
impl UnsafeUnpin for FunctionRecord
impl UnwindSafe for FunctionRecord
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 more