Struct safe_app::permissions::UserPermissionSet[][src]

pub struct UserPermissionSet {
    pub user_h: SignPubKeyHandle,
    pub perm_set: PermissionSet,
}

Object representing a (User, Permission Set) pair.

Fields

User's sign key handle.

User's permission set.

Methods

impl UserPermissionSet
[src]

Consumes the object and returns the FFI counterpart.

You're now responsible for freeing the object's memory once you're done.

Trait Implementations

impl Copy for UserPermissionSet
[src]

impl Clone for UserPermissionSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for UserPermissionSet
[src]

Returns the "default value" for a type. Read more

impl Debug for UserPermissionSet
[src]

Formats the value using the given formatter. Read more

impl Eq for UserPermissionSet
[src]

impl Ord for UserPermissionSet
[src]

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq for UserPermissionSet
[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 UserPermissionSet
[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

impl ReprC for UserPermissionSet
[src]

C representation of the type

Error type

Converts from a raw type into an owned type by cloning data

Auto Trait Implementations