[][src]Enum flubber_backend_proto::Update

pub enum Update {
    RoomUpsert(Room),
    RoomDelete(RoomID),
    MessageUpsert(Message),
    MessageDelete(MessageID),
}

Information sent from the backend to the server.

Variants

RoomUpsert(Room)

Notification that a room was created or edited.

RoomDelete(RoomID)

Notification that a room was deleted.

MessageUpsert(Message)

Notification that a message was created or edited.

MessageDelete(MessageID)

Notification that a message was deleted.

Trait Implementations

impl Clone for Update[src]

impl PartialEq<Update> for Update[src]

impl Debug for Update[src]

impl StructuralPartialEq for Update[src]

impl Serialize for Update[src]

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

impl Value for Update[src]

Auto Trait Implementations

impl Send for Update

impl Sync for Update

impl Unpin for Update

impl UnwindSafe for Update

impl RefUnwindSafe for Update

Blanket Implementations

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]