# Struct permissions::invites::InviteRequest

> The parts of an `invite.create` body the checks need.

`zaun_community_protocol::permissions::invites::InviteRequest` · Struct

```rust
pub struct InviteRequest<'a> { … }
```

The parts of an `invite.create` body the checks need.

## Fields

### `rule: InviteCreation`

The policy's `invite_creation` rule.

### `default_roles: &'a [Role]`

The roles named by `default_role_ids`, joined from the role table.

### `requires_approval: bool`

`requires_approval`.

### `pre_approved: bool`

`pre_approved`.

### `overrides_stricter: bool`

Whether `admission_overrides` (if any) are all at least as strict as the policy;
the engine compares the fields.

## Trait implementations

`Clone`, `Copy`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/permissions/invites/struct.InviteRequest.html)
