Enum pallet_ddxp::RawEvent[][src]

pub enum RawEvent<AccountId> {
    DataStringSet(AccountId),
    DataStringChanged(AccountId),
}
Expand description

Events for this module.

Variants

DataStringSet(AccountId)

A data string was set. [who]

DataStringChanged(AccountId)

A data string was changed. [who]

Trait Implementations

impl<AccountId: Clone> Clone for RawEvent<AccountId>[src]

fn clone(&self) -> RawEvent<AccountId>[src]

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<AccountId> Debug for RawEvent<AccountId> where
    AccountId: Debug
[src]

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<AccountId> Decode for RawEvent<AccountId> where
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode
[src]

fn decode<__CodecInputEdqy: Input>(
    __codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
[src]

Attempt to deserialise the value from input.

impl<AccountId> Encode for RawEvent<AccountId> where
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode
[src]

fn encode_to<__CodecOutputEdqy: Output>(
    &self,
    __codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]

Convert self to a slice and append it to the destination.

fn size_hint(&self) -> usize[src]

If possible give a hint of expected size of the encoding. Read more

fn encode(&self) -> Vec<u8, Global>[src]

Convert self to an owned vector.

fn using_encoded<R, F>(&self, f: F) -> R where
    F: FnOnce(&[u8]) -> R, 
[src]

Convert self to a slice and then invoke the given closure with it.

impl<AccountId: PartialEq> PartialEq<RawEvent<AccountId>> for RawEvent<AccountId>[src]

fn eq(&self, other: &RawEvent<AccountId>) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &RawEvent<AccountId>) -> bool[src]

This method tests for !=.

impl<AccountId> EncodeLike<RawEvent<AccountId>> for RawEvent<AccountId> where
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode
[src]

impl<AccountId: Eq> Eq for RawEvent<AccountId>[src]

impl<AccountId> StructuralEq for RawEvent<AccountId>[src]

impl<AccountId> StructuralPartialEq for RawEvent<AccountId>[src]

Auto Trait Implementations

impl<AccountId> RefUnwindSafe for RawEvent<AccountId> where
    AccountId: RefUnwindSafe

impl<AccountId> Send for RawEvent<AccountId> where
    AccountId: Send

impl<AccountId> Sync for RawEvent<AccountId> where
    AccountId: Sync

impl<AccountId> Unpin for RawEvent<AccountId> where
    AccountId: Unpin

impl<AccountId> UnwindSafe for RawEvent<AccountId> where
    AccountId: UnwindSafe

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> CheckedConversion for T[src]

fn checked_from<T>(t: T) -> Option<Self> where
    Self: TryFrom<T>, 
[src]

Convert from a value of T into an equivalent instance of Option<Self>. Read more

fn checked_into<T>(self) -> Option<T> where
    Self: TryInto<T>, 
[src]

Consume self to return Some equivalent value of Option<T>. Read more

impl<T> DecodeAll for T where
    T: Decode
[src]

pub fn decode_all(input: &[u8]) -> Result<T, Error>[src]

Decode Self and consume all of the given input data. If not all data is consumed, an error is returned. Read more

impl<T> DecodeLimit for T where
    T: Decode
[src]

pub fn decode_all_with_depth_limit(limit: u32, input: &[u8]) -> Result<T, Error>[src]

Decode Self and consume all of the given input data. If not all data is consumed, an error is returned. Read more

pub fn decode_with_depth_limit(limit: u32, input: &[u8]) -> Result<T, Error>[src]

Decode Self with given maximum recursion depth. is returned. Read more

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

pub fn __clone_box(&self, Private) -> *mut ()[src]

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

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Hashable for T where
    T: Codec
[src]

pub fn blake2_128(&self) -> [u8; 16][src]

pub fn blake2_256(&self) -> [u8; 32][src]

pub fn blake2_128_concat(&self) -> Vec<u8, Global>[src]

pub fn twox_128(&self) -> [u8; 16][src]

pub fn twox_256(&self) -> [u8; 32][src]

pub fn twox_64_concat(&self) -> Vec<u8, Global>[src]

pub fn identity(&self) -> Vec<u8, Global>[src]

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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

pub fn into(self) -> U[src]

Performs the conversion.

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

pub fn from_ref(t: &T) -> &T[src]

Cast reference.

pub fn into_ref(&self) -> &T[src]

Cast reference.

pub fn from_mut(t: &mut T) -> &mut T[src]

Cast mutable reference.

pub fn into_mut(&mut self) -> &mut T[src]

Cast mutable reference.

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> KeyedVec for T where
    T: Codec
[src]

pub fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8, Global>[src]

Return an encoding of Self prepended by given slice.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

fn saturated_from<T>(t: T) -> Self where
    Self: UniqueSaturatedFrom<T>, 

Convert from a value of T into an equivalent instance of Self. Read more

fn saturated_into<T>(self) -> T where
    Self: UniqueSaturatedInto<T>, 

Consume self to return an equivalent value of T. Read more

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

pub fn unchecked_into(self) -> T

The counterpart to unchecked_from.

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

pub fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.

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

pub fn vzip(self) -> V

impl<S> Codec for S where
    S: Decode + Encode
[src]

impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ mut T> for T where
    T: Encode
[src]

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode
[src]

impl<T> EncodeLike<Box<T, Global>> for T where
    T: Encode
[src]

impl<'a, T> EncodeLike<Cow<'a, T>> for T where
    T: ToOwned + Encode
[src]

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode
[src]

impl<S> FullCodec for S where
    S: Decode + FullEncode
[src]

impl<S> FullEncode for S where
    S: Encode + EncodeLike<S>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Member for T where
    T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone
[src]

impl<T> Parameter for T where
    T: Codec + EncodeLike<T> + Clone + Eq + Debug
[src]