[][src]Struct sawtooth_sdk::messages::identity::Role

pub struct Role {
    pub name: String,
    pub policy_name: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

name: Stringpolicy_name: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl Role[src]

pub fn new() -> Role[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_policy_name(&self) -> &str[src]

pub fn clear_policy_name(&mut self)[src]

pub fn set_policy_name(&mut self, v: String)[src]

pub fn mut_policy_name(&mut self) -> &mut String[src]

pub fn take_policy_name(&mut self) -> String[src]

Trait Implementations

impl Clone for Role[src]

impl Default for Role[src]

impl<'a> Default for &'a Role[src]

impl PartialEq<Role> for Role[src]

impl Debug for Role[src]

impl Message for Role[src]

impl Clear for Role[src]

impl ProtobufValue for Role[src]

Auto Trait Implementations

impl Send for Role

impl Sync for Role

impl Unpin for Role

impl UnwindSafe for Role

impl RefUnwindSafe for Role

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]