[][src]Struct exonum_configuration::Propose

pub struct Propose {
    pub cfg: String,
}

Propose a new configuration.

Notes

See ErrorCode for the description of error codes emitted by the execute() method.

Fields

cfg: String

Configuration in JSON format.

Should be convertible into StoredConfiguration.

Methods

impl Propose[src]

pub fn sign(
    author: &PublicKey,
    cfg: &str,
    key: &SecretKey
) -> Signed<RawTransaction>
[src]

Create Signed for Propose transaction, signed by provided keys.

Trait Implementations

impl Clone for Propose[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<Propose> for ConfigurationTransactions[src]

impl From<Propose> for ServiceTransaction[src]

impl PartialEq<Propose> for Propose[src]

impl Debug for Propose[src]

impl Serialize for Propose[src]

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

impl BinaryValue for Propose[src]

fn into_bytes(self) -> Vec<u8>[src]

Consumes and serializes the given value to the vector of bytes. This method is faster with the wrapped values, thus if you wouldn't use value after serialization use it. Read more

impl ObjectHash for Propose[src]

impl CryptoHash for Propose[src]

impl ProtobufConvert for Propose[src]

type ProtoStruct = Propose

Type of the protobuf clone of Self

impl Transaction for Propose[src]

Auto Trait Implementations

impl Sync for Propose

impl Send for Propose

impl Unpin for Propose

impl RefUnwindSafe for Propose

impl UnwindSafe for Propose

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

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

impl<T> Erased for T

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