[][src]Struct fabric_ledger_protos::ledger_messages::EndorsementPolicy

pub struct EndorsementPolicy {
    pub rule: SingularPtrField<EndorsementRule>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

rule: SingularPtrField<EndorsementRule>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl EndorsementPolicy[src]

pub fn new() -> EndorsementPolicy[src]

pub fn get_rule(&self) -> &EndorsementRule[src]

pub fn clear_rule(&mut self)[src]

pub fn has_rule(&self) -> bool[src]

pub fn set_rule(&mut self, v: EndorsementRule)[src]

pub fn mut_rule(&mut self) -> &mut EndorsementRule[src]

pub fn take_rule(&mut self) -> EndorsementRule[src]

Trait Implementations

impl Clear for EndorsementPolicy[src]

impl Clone for EndorsementPolicy[src]

impl Debug for EndorsementPolicy[src]

impl Default for EndorsementPolicy[src]

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

impl Message for EndorsementPolicy[src]

impl PartialEq<EndorsementPolicy> for EndorsementPolicy[src]

impl ProtobufValue for EndorsementPolicy[src]

impl StructuralPartialEq for EndorsementPolicy[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.