[][src]Struct sawtooth_sdk::messages::authorization::AuthorizationViolation

pub struct AuthorizationViolation {
    pub violation: RoleType,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

violation: RoleTypeunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl AuthorizationViolation[src]

pub fn new() -> AuthorizationViolation[src]

pub fn get_violation(&self) -> RoleType[src]

pub fn clear_violation(&mut self)[src]

pub fn set_violation(&mut self, v: RoleType)[src]

Trait Implementations

impl Clone for AuthorizationViolation[src]

impl Default for AuthorizationViolation[src]

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

impl PartialEq<AuthorizationViolation> for AuthorizationViolation[src]

impl Debug for AuthorizationViolation[src]

impl StructuralPartialEq for AuthorizationViolation[src]

impl Message for AuthorizationViolation[src]

impl Clear for AuthorizationViolation[src]

impl ProtobufValue for AuthorizationViolation[src]

Auto Trait Implementations

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]