[][src]Struct sync15::RecordChangeset

pub struct RecordChangeset<P> {
    pub changes: Vec<P>,
    pub timestamp: ServerTimestamp,
    pub collection: Cow<'static, str>,
}

Fields

changes: Vec<P>timestamp: ServerTimestamp

For GETs, the last sync timestamp that should be persisted after applying the records. For POSTs, this is the XIUS timestamp.

collection: Cow<'static, str>

Implementations

impl<T> RecordChangeset<T>[src]

pub fn new(
    collection: impl Into<Cow<'static, str>>,
    timestamp: ServerTimestamp
) -> RecordChangeset<T>
[src]

Trait Implementations

impl<P> Clone for RecordChangeset<P> where
    P: Clone
[src]

impl<P> Debug for RecordChangeset<P> where
    P: Debug
[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for RecordChangeset<P> where
    P: RefUnwindSafe

impl<P> Send for RecordChangeset<P> where
    P: Send

impl<P> Sync for RecordChangeset<P> where
    P: Sync

impl<P> Unpin for RecordChangeset<P> where
    P: Unpin

impl<P> UnwindSafe for RecordChangeset<P> where
    P: 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> 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>,