Trait Point
pub trait Point: Debug {
// Required methods
fn as_fields(&self) -> &dyn PFields;
fn hash_ref(&self) -> &B64<[u8; 32]>;
fn xheader_ref(&self) -> &XHeader;
fn recv(&self) -> Option<U64>;
fn byte_segments(&self) -> ByteSegments<'_>;
// Provided methods
fn as_box(&self) -> PointBox ⓘ { ... }
fn as_arc(&self) -> PointArc ⓘ { ... }
}
Expand description
Required Methods§
fn as_fields(&self) -> &dyn PFields
fn hash_ref(&self) -> &B64<[u8; 32]>
fn xheader_ref(&self) -> &XHeader
fn recv(&self) -> Option<U64>
fn recv(&self) -> Option<U64>
recv is a special field. It depends on the context. Reading directly from the database it should return the stamp at which it was inserted. NOTE: Do not rely on this value being unique - in the db or otherwise.