package guardian

  1. Overview
  2. Docs
type 'a t = {
  1. roles : ActorRoleSet.t;
  2. owner : Uuid.Actor.t option;
  3. uuid : Uuid.Actor.t;
  4. typ : 'a;
}
val equal : 'a. ('a -> 'a -> Ppx_deriving_runtime.bool) -> 'a t -> 'a t -> Ppx_deriving_runtime.bool
val compare : 'a. ('a -> 'a -> Ppx_deriving_runtime.int) -> 'a t -> 'a t -> Ppx_deriving_runtime.int
val pp : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'a t -> Ppx_deriving_runtime.unit
val show : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> 'a t -> Ppx_deriving_runtime.string
val to_yojson : 'a. ('a -> Yojson.Safe.t) -> 'a t -> Yojson.Safe.t
val to_string : 'a t -> Ppx_deriving_runtime.string
val make : ?owner:Uuid.Actor.t -> ActorRoleSet.t -> 'a -> Uuid.Actor.t -> 'a t
val a_owns_b : 'a t -> 'b t -> bool
val has_role : 'a t -> ActorRoleSet.elt -> bool
OCaml

Innovation. Community. Security.