2026-09-15 19:11:39 +02:00
|
|
|
namespace AIStudio.Tools.Rust;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Says how opening a document went.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Success">Whether the document was opened at all.</param>
|
2026-11-25 16:38:31 +01:00
|
|
|
/// <param name="PageOutcome">
|
|
|
|
|
/// What became of the page the document was to be shown at. A page which did not arrive is no error,
|
|
|
|
|
/// since the document opens either way, but the user hears why, see SourceDocumentLocationExtensions.
|
2026-09-15 19:11:39 +02:00
|
|
|
/// </param>
|
|
|
|
|
/// <param name="Issue">Why the document could not be opened, or an empty text when it was.</param>
|
2026-11-25 16:38:31 +01:00
|
|
|
public readonly record struct OpenDocumentResponse(bool Success, DocumentPageOutcome PageOutcome, string Issue);
|