pub struct PimdirPlacement {
pub collection: String,
pub account: Option<String>,
pub seq: i64,
pub link_id: ReplicaLinkId,
pub object: Option<ReplicaHash>,
pub flags: ReplicaFlags,
pub level: ReplicaLevel,
}Available on crate feature
client only.Expand description
Where one identity or one body sits, as the multiplicity reads report it (spec §9.2): one row per live placement, carrying the collection and account it occurs in.
A fact, not a verdict. The same vCard UID in two accounts’ address
books is two of these; whether that is one person shown twice or two
people is the consumer’s call.
Fields§
§collection: StringThe collection the placement sits in.
account: Option<String>The account that collection is grouped under, None when ungrouped.
seq: i64The item’s public id, shared by every placement of one link id.
link_id: ReplicaLinkIdThe cross-collection identity.
object: Option<ReplicaHash>The body this placement points at, absent until hydrated.
flags: ReplicaFlagsThe placement’s flag set.
level: ReplicaLevelThe detail tier the item is hydrated to.
Trait Implementations§
Source§impl Clone for PimdirPlacement
impl Clone for PimdirPlacement
Source§fn clone(&self) -> PimdirPlacement
fn clone(&self) -> PimdirPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PimdirPlacement
impl Debug for PimdirPlacement
impl Eq for PimdirPlacement
Source§impl PartialEq for PimdirPlacement
impl PartialEq for PimdirPlacement
impl StructuralPartialEq for PimdirPlacement
Auto Trait Implementations§
impl Freeze for PimdirPlacement
impl RefUnwindSafe for PimdirPlacement
impl Send for PimdirPlacement
impl Sync for PimdirPlacement
impl Unpin for PimdirPlacement
impl UnsafeUnpin for PimdirPlacement
impl UnwindSafe for PimdirPlacement
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