Struct hdi::entry::examples::Post

source ·
pub struct Post(pub String);

Tuple Fields

0: String

Trait Implementations

source

impl Debug for Post

Formats the value using the given formatter. Read more
source

impl<'de> Deserialize<'de> for Post

Deserialize this value from the given Serde deserializer. Read more
source

impl Serialize for Post

Serialize this value into the given Serde serializer. Read more
source

impl TryFrom<&Entry> for Post

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<&Post> for Entry

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<&Record<SignedHashed<Action>>> for Post

The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<Entry> for Post

The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<HoloHashed<Entry>> for Post

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<Post> for Entry

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<Record<SignedHashed<Action>>> for Post

The type returned in the event of a conversion error.
Performs the conversion.
source

impl TryFrom<SerializedBytes> for Post

The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

impl RefUnwindSafe for Post

impl Send for Post

impl Sync for Post

impl Unpin for Post

impl UnwindSafe for Post

Blanket Implementations

source

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more

impl<T> ArchivePointee for T

The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
source

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more

impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
    W: DeserializeWith<F, T, D>,
    D: Fallible + ?Sized,
    F: ?Sized,

Deserializes using the given deserializer
source

impl<T> From<T> for T

Returns the argument unchanged.

source

impl<T> Instrument for T

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

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl<T> Pointable for T

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more

impl<T> Pointee for T

The type for metadata in pointers and references to Self.
source

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.

impl<T> Upcastable for Twhere
    T: 'static + Any + Send + Sync,

upcast ref
upcast mut ref
upcast boxed dyn
source

impl<T> WithSubscriber for T

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source

impl<T> DeserializeOwned for Twhere
    T: for<'de> Deserialize<'de>,