namespace NATS.Server.Subscriptions;

internal readonly record struct RoutedSubKey(string RouteId, string Account, string Subject, string? Queue)
{
    public static RoutedSubKey FromRemoteSubscription(RemoteSubscription sub)
        => new(sub.RouteId, sub.Account, sub.Subject, sub.Queue);
}
