[][src]Struct exonum::messages::schema::lifecycle::ArtifactState

pub struct ArtifactState {
    pub deploy_spec: Vec<u8>,
    pub status: ArtifactState_Status,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

deploy_spec: Vec<u8>status: ArtifactState_Statusunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl ArtifactState[src]

pub fn new() -> ArtifactState[src]

pub fn get_deploy_spec(&self) -> &[u8][src]

pub fn clear_deploy_spec(&mut self)[src]

pub fn set_deploy_spec(&mut self, v: Vec<u8>)[src]

pub fn mut_deploy_spec(&mut self) -> &mut Vec<u8>[src]

pub fn take_deploy_spec(&mut self) -> Vec<u8>[src]

pub fn get_status(&self) -> ArtifactState_Status[src]

pub fn clear_status(&mut self)[src]

pub fn set_status(&mut self, v: ArtifactState_Status)[src]

Trait Implementations

impl Clear for ArtifactState[src]

impl Clone for ArtifactState[src]

impl Debug for ArtifactState[src]

impl Default for ArtifactState[src]

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

impl<'de> Deserialize<'de> for ArtifactState[src]

impl Message for ArtifactState[src]

impl PartialEq<ArtifactState> for ArtifactState[src]

impl ProtobufValue for ArtifactState[src]

impl Serialize for ArtifactState[src]

impl StructuralPartialEq for ArtifactState[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> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<T> InitializableFromZeroed for T where
    T: Default

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,