docs: def from_int(cls, integer):
          """
          Constructs a `Deleted` using the `tinyint` value of the `rev_deleted`
          column of the `revision` MariaDB table.
  
          * DELETED_TEXT = 1
          * DELETED_COMMENT = 2
          * DELETED_USER = 4
          * DELETED_RESTRICTED = 8
          """
          bin_string = bin(integer)
  
          return cls(
              text=len(bin_string) >= 1 and bin_string[-1] == "1",
              comment=len(bin_string) >= 2 and bin_string[-2] == "1",
              user=len(bin_string) >= 3 and bin_string[-3] == "1",
              restricted=len(bin_string) >= 4 and bin_string[-4] == "1"
          )