Struct toornament::Permission [] [src]

pub struct Permission {
    pub id: Option<PermissionId>,
    pub email: String,
    pub attributes: PermissionAttributes,
}

A user permission

Fields

The permission identifier.

Email of the permitted user.

The list of permission of the related user on the tournament.

Methods

impl Permission
[src]

Create permission object for adding it to a tournament (Toornament::create_tournament_permission)

Trait Implementations

impl Clone for Permission
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Permission
[src]

Formats the value using the given formatter.

impl Eq for Permission
[src]

impl Ord for Permission
[src]

This method returns an Ordering between self and other. Read more

impl PartialEq for Permission
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Permission
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more