Constants for the fields of the /has/role request.
Option fields
options
Constants for options.
pub const FALSE: &str = “false”;pub const NO_ERROR_IF_NOT_EXISTS: &str = “no_error_if_not_exists”;If false will return an error if the provided role does not exist or is blank. If true then it will return false for has_role.
pub const ONLY_DIRECT: &str = “only_direct”;If false will search recursively if the principal is a member of role. If true then principal must directly be a member of role.
pub const TRUE: &str = “true”;