namespace AIStudio.Tools.Rust;
///
/// Says how opening a document went.
///
/// Whether the document was opened at all.
///
/// 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.
///
/// Why the document could not be opened, or an empty text when it was.
public readonly record struct OpenDocumentResponse(bool Success, DocumentPageOutcome PageOutcome, string Issue);