Module yrs::block[][src]

Structs

A logical block pointer. It contains a unique block ID, but also contains a helper metadata which allows to faster locate block it points to within a block store.

Block identifier, which allows to uniquely identify any element insertion in a global scope (across different replicas of the same document). It consists of client ID (which is unique document replica identifier) and monotonically incrementing clock value.

Enums

An enum describing the type of a user content stored as part of one or more (if items were squashed) insert operations.

Constants

Bit flag used to identify [Block::GC].

Bit flag used to identify items with content of type ItemContent::Any.

Bit flag used to identify items with content of type ItemContent::Binary.

Bit flag used to identify items with content of type ItemContent::Deleted.

Bit flag used to identify items with content of type ItemContent::Doc.

Bit flag used to identify items with content of type ItemContent::Embed.

Bit flag used to identify items with content of type ItemContent::Format.

Bit flag used to identify items with content of type ItemContent::JSON.

Bit flag used to identify items with content of type ItemContent::String.

Bit flag used to identify items with content of type [ItemContent::Number].

Bit flag used to identify [Block::Skip].

Bit flag used to tell if encoded item has left origin defined.

Bit flag used to tell if encoded item has a parent subtitle defined. Subtitles are used only for blocks which act as map-like types entries.

Bit flag used to tell if encoded item has right origin defined.

Traits

A trait used for preliminary types, that can be inserted into nested YArray/YMap structures.