#[repr(transparent)]
pub struct Post(pub String);

Tuple Fields

0: String

Trait Implementations

source

impl Clone for Post

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

source

impl Debug for Post

Formats the value using the given formatter. Read more

source

impl Default for Post

Returns the “default value” for a type. Read more

source

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

Deserialize this value from the given Serde deserializer. Read more

source

impl PartialEq<Post> for Post

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

source

impl Serialize for Post

Serialize this value into the given Serde serializer. Read more

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<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<SerializedBytes> for Post

The type returned in the event of a conversion error.

Performs the conversion.

source

impl StructuralPartialEq for Post

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 T where
    T: 'static + ?Sized

Gets the TypeId of self. Read more

impl<T> Any for T where
    T: Any + ?Sized

TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 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 T where
    T: ?Sized

Immutably borrows from an owned value. Read more

source

impl<T> BorrowMut<T> for T where
    T: ?Sized

Mutably borrows from an owned value. Read more

impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
    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.

impl<T> FutureExt for T

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

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> 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 T where
    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> Same<T> for T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

source

impl<T> ToOwned for T where
    T: Clone

The resulting type after obtaining ownership.

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

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

source

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

The type returned in the event of a conversion error.

Performs the conversion.

source

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

The type returned in the event of a conversion error.

Performs the conversion.

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

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