use chrono::{DateTime, Utc};
use concepts::{
ExecutionId, FunctionFqn, SupportedFunctionReturnValue, component_id::ComponentDigest,
storage::ResponseWithCursor,
};
#[derive(Debug)]
pub struct NotifierPendingAt {
pub scheduled_at: DateTime<Utc>,
pub ffqn: FunctionFqn,
pub component_input_digest: ComponentDigest,
}
#[derive(Debug)]
pub struct NotifierExecutionFinished {
pub execution_id: ExecutionId,
pub retval: SupportedFunctionReturnValue,
}
#[derive(Debug, Default)]
pub struct AppendNotifier {
pub pending_at: Option<NotifierPendingAt>,
pub execution_finished: Option<NotifierExecutionFinished>,
pub response: Option<(ExecutionId, ResponseWithCursor)>,
}