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