[][src]Struct lightspeed_core::model::model_dto::ModelDto

pub struct ModelDto<DATA> where
    DATA: Clone + Serialize + Send
{ pub id: IdType, pub version: VersionType, pub data: DATA, }

Fields

id: IdTypeversion: VersionTypedata: DATA

Trait Implementations

impl<DATA: Clone> Clone for ModelDto<DATA> where
    DATA: Clone + Serialize + Send
[src]

impl<'de, DATA> Deserialize<'de> for ModelDto<DATA> where
    DATA: Clone + Serialize + Send,
    DATA: Deserialize<'de>, 
[src]

impl<DATA> From<Model<DATA>> for ModelDto<DATA> where
    DATA: Clone + Serialize + DeserializeOwned + Send
[src]

impl<DATA> Serialize for ModelDto<DATA> where
    DATA: Clone + Serialize + Send,
    DATA: Serialize
[src]

impl<DATA> TypeScriptifyTrait for ModelDto<DATA> where
    DATA: Clone + Serialize + Send
[src]

Auto Trait Implementations

impl<DATA> RefUnwindSafe for ModelDto<DATA> where
    DATA: RefUnwindSafe

impl<DATA> Send for ModelDto<DATA>

impl<DATA> Sync for ModelDto<DATA> where
    DATA: Sync

impl<DATA> Unpin for ModelDto<DATA> where
    DATA: Unpin

impl<DATA> UnwindSafe for ModelDto<DATA> where
    DATA: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,