Struct rincon_session::client::DocumentUpdate
[−]
[src]
pub struct DocumentUpdate<Upd> { /* fields omitted */ }
Methods
impl<Upd> DocumentUpdate<Upd>
[src]
pub fn new(key: DocumentKey, content: Upd) -> DocumentUpdate<Upd>
[src]
pub fn with_revision<Rev>(self, revision: Rev) -> DocumentUpdate<Upd> where
Rev: Into<Revision>,
[src]
Rev: Into<Revision>,
pub fn key(&self) -> &DocumentKey
[src]
pub fn revision(&self) -> Option<&Revision>
[src]
ⓘImportant traits for &'a mut Wpub fn content(&self) -> &Upd
[src]
ⓘImportant traits for &'a mut W
Trait Implementations
impl<Upd> PartialEq<DocumentUpdate<Upd>> for DocumentUpdate<Upd> where
Upd: PartialEq<Upd>,
[src]
Upd: PartialEq<Upd>,
fn eq(&self, __arg_0: &DocumentUpdate<Upd>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DocumentUpdate<Upd>) -> bool
[src]
This method tests for !=
.
impl<Upd> Serialize for DocumentUpdate<Upd> where
Upd: Serialize + Debug,
[src]
Upd: Serialize + Debug,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<Upd> Clone for DocumentUpdate<Upd> where
Upd: Clone,
[src]
Upd: Clone,
fn clone(&self) -> DocumentUpdate<Upd>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<Upd> Debug for DocumentUpdate<Upd> where
Upd: Debug,
[src]
Upd: Debug,
Auto Trait Implementations
impl<Upd> Send for DocumentUpdate<Upd> where
Upd: Send,
Upd: Send,
impl<Upd> Sync for DocumentUpdate<Upd> where
Upd: Sync,
Upd: Sync,