pub struct RowId {
pub table: String,
pub key: Vec<u8>,
pub audience: Audience,
}Expand description
A row is one table, primary key and audience, with generations of its own.
Fields§
§table: StringThe synced table’s name.
key: Vec<u8>The primary key, encoded by the caller so byte order is key order.
audience: AudienceThe store or circle that can read the row.
Trait Implementations§
Source§impl Ord for RowId
impl Ord for RowId
Source§impl PartialOrd for RowId
impl PartialOrd for RowId
impl Eq for RowId
impl StructuralPartialEq for RowId
Auto Trait Implementations§
impl Freeze for RowId
impl RefUnwindSafe for RowId
impl Send for RowId
impl Sync for RowId
impl Unpin for RowId
impl UnsafeUnpin for RowId
impl UnwindSafe for RowId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more