2024-09-01 18:10:03 +00:00
|
|
|
namespace AIStudio.Tools.Rust;
|
2024-06-30 13:26:28 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The response of the update check.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="UpdateIsAvailable">True if an update is available.</param>
|
|
|
|
/// <param name="NewVersion">The new version, when available.</param>
|
|
|
|
/// <param name="Changelog">The changelog of the new version, when available.</param>
|
|
|
|
public readonly record struct UpdateResponse(
|
2024-09-01 18:10:03 +00:00
|
|
|
bool UpdateIsAvailable,
|
|
|
|
bool Error,
|
|
|
|
string NewVersion,
|
2024-06-30 13:26:28 +00:00
|
|
|
string Changelog
|
|
|
|
);
|