package guardian

  1. Overview
  2. Docs
type !'a t = 'a Guardian.Make(A)(T).AuthorizableTarget.t = {
  1. uuid : Uuid.Target.t;
  2. owner : Uuid.Actor.t option;
  3. entity : TargetRoleSet.t;
  4. typ : 'a;
}
val equal : ('a -> 'a -> Ppx_deriving_runtime.bool) -> 'a t -> 'a t -> Ppx_deriving_runtime.bool
val compare : ('a -> 'a -> Ppx_deriving_runtime.int) -> 'a t -> 'a t -> Ppx_deriving_runtime.int
val pp : (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'a t -> Ppx_deriving_runtime.unit
val show : (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> 'a t -> Ppx_deriving_runtime.string
val to_yojson : ('a -> Yojson.Safe.t) -> 'a t -> Yojson.Safe.t
val to_string : 'a t -> Ppx_deriving_runtime.string
val make : ?owner:Uuid.Actor.t -> TargetRoleSet.t -> 'a -> Uuid.Target.t -> 'a t
OCaml

Innovation. Community. Security.