[][src]Struct fabric_ledger_protos::ledger_messages::EndorsementPrincipal

pub struct EndorsementPrincipal {
    pub msp_id: String,
    pub role: EndorsementPrincipal_Role,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

msp_id: Stringrole: EndorsementPrincipal_Roleunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl EndorsementPrincipal[src]

pub fn new() -> EndorsementPrincipal[src]

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

pub fn clear_msp_id(&mut self)[src]

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

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

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

pub fn get_role(&self) -> EndorsementPrincipal_Role[src]

pub fn clear_role(&mut self)[src]

pub fn set_role(&mut self, v: EndorsementPrincipal_Role)[src]

Trait Implementations

impl Clear for EndorsementPrincipal[src]

impl Clone for EndorsementPrincipal[src]

impl Debug for EndorsementPrincipal[src]

impl Default for EndorsementPrincipal[src]

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

impl Message for EndorsementPrincipal[src]

impl PartialEq<EndorsementPrincipal> for EndorsementPrincipal[src]

impl ProtobufValue for EndorsementPrincipal[src]

impl StructuralPartialEq for EndorsementPrincipal[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.