Struct ocf::linux::User [] [src]

pub struct User {
    pub uid: u32,
    pub gid: u32,
    pub additional_gids: Vec<u32>,
}

Fields

uid
gid
additional_gids

Methods

impl User

fn uid(&self) -> u32

fn gid(&self) -> u32

fn additional_gids(&self) -> &[u32]

Trait Implementations

impl Deserialize for User

fn deserialize<__D>(deserializer: &mut __D) -> Result<User, __D::Error> where __D: Deserializer

impl Serialize for User

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl Debug for User

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for User

fn clone(&self) -> User

fn clone_from(&mut self, source: &Self)