[][src]Struct asset_transfer_private_rs::AssetPrivate

pub struct AssetPrivate { /* fields omitted */ }

Implementations

impl AssetPrivate[src]

pub fn new(
    id: String,
    appraised_value: u32,
    itemcode: String,
    description: String
) -> AssetPrivate
[src]

Trait Implementations

impl DataType for AssetPrivate[src]

Very important to implement the DataType Trait for the Asset

This provides the ability to store the data in the ledger

impl Debug for AssetPrivate[src]

impl Default for AssetPrivate[src]

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

impl<'_> From<&'_ WireBuffer> for AssetPrivate[src]

impl Serialize for AssetPrivate[src]

impl WireBufferFromReturnType<AssetPrivate> for WireBuffer[src]

Auto Trait Implementations

impl RefUnwindSafe for AssetPrivate

impl Send for AssetPrivate

impl Sync for AssetPrivate

impl Unpin for AssetPrivate

impl UnwindSafe for AssetPrivate

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.