Reference · Record · library.rs
HistoryEntry Record
No description yet.
struct HistoryEntry {
var id: String
var date: Int64
var tool: String
var workflowId: String?
var options: ToolOptions?
var summary: String
var sources: [String]
var sourceAccess: [Data]
var results: [String]
var bytesIn: UInt64
var bytesOut: UInt64
var passwordRemoved: Bool
}public record HistoryEntry(
string id,
long date,
string tool,
string? workflowId,
ToolOptions? options,
string summary,
string[] sources,
byte[][] sourceAccess,
string[] results,
ulong bytesIn,
ulong bytesOut,
bool passwordRemoved
)pub struct HistoryEntry {
pub id: String,
pub date: i64,
pub tool: String,
pub workflow_id: Option<String>,
pub options: Option<ToolOptions>,
pub summary: String,
pub sources: Vec<String>,
pub source_access: Vec<Vec<u8>>,
pub results: Vec<String>,
pub bytes_in: u64,
pub bytes_out: u64,
pub password_removed: bool,
}Fields
| Field | Type | Description |
|---|---|---|
id | String | No description yet. |
date | i64 | seconds since 1970 |
tool | String | the tool's name ("compress") or "workflow" |
workflow_id | Option<String> | No description yet. |
options | Option<ToolOptions> | never with a password (see needs_password) |
summary | String | No description yet. |
sources | Vec<String> | No description yet. |
source_access | Vec<Vec<u8>> | opaque per-source access tokens the platform needs to open them again (security-scoped bookmarks on Apple) |
results | Vec<String> | No description yet. |
bytes_in | u64 | No description yet. |
bytes_out | u64 | No description yet. |
password_removed | bool default false | the run had a password, which was not stored: a rerun must ask for one (Schützen with an empty password and limited rights is a choice of its own, so needs_password alone cannot tell) |
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.