mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18:28:27 -04:00
18 lines
390 B
C#
18 lines
390 B
C#
#nullable disable
|
|
using NadekoBot.Db.Models;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace NadekoBot.Modules.Searches.Common;
|
|
|
|
public readonly struct StreamDataKey
|
|
{
|
|
public FollowedStream.FType Type { get; }
|
|
public string Name { get; }
|
|
|
|
[JsonConstructor]
|
|
public StreamDataKey(FollowedStream.FType type, string name)
|
|
{
|
|
Type = type;
|
|
Name = name;
|
|
}
|
|
} |