module Proteome.Data.ListedBuffer where

import Ribosome.Host.Api.Data (Buffer)

data ListedBuffer =
  ListedBuffer {
    ListedBuffer -> Buffer
buffer :: Buffer,
    ListedBuffer -> Int
number :: Int,
    ListedBuffer -> Text
name :: Text
  }
  deriving stock (ListedBuffer -> ListedBuffer -> Bool
(ListedBuffer -> ListedBuffer -> Bool)
-> (ListedBuffer -> ListedBuffer -> Bool) -> Eq ListedBuffer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListedBuffer -> ListedBuffer -> Bool
$c/= :: ListedBuffer -> ListedBuffer -> Bool
== :: ListedBuffer -> ListedBuffer -> Bool
$c== :: ListedBuffer -> ListedBuffer -> Bool
Eq, Int -> ListedBuffer -> ShowS
[ListedBuffer] -> ShowS
ListedBuffer -> String
(Int -> ListedBuffer -> ShowS)
-> (ListedBuffer -> String)
-> ([ListedBuffer] -> ShowS)
-> Show ListedBuffer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListedBuffer] -> ShowS
$cshowList :: [ListedBuffer] -> ShowS
show :: ListedBuffer -> String
$cshow :: ListedBuffer -> String
showsPrec :: Int -> ListedBuffer -> ShowS
$cshowsPrec :: Int -> ListedBuffer -> ShowS
Show, (forall x. ListedBuffer -> Rep ListedBuffer x)
-> (forall x. Rep ListedBuffer x -> ListedBuffer)
-> Generic ListedBuffer
forall x. Rep ListedBuffer x -> ListedBuffer
forall x. ListedBuffer -> Rep ListedBuffer x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListedBuffer x -> ListedBuffer
$cfrom :: forall x. ListedBuffer -> Rep ListedBuffer x
Generic)