pub struct RelationshipHeader {
pub relationship_id: [u8; 16],
pub ordinal: u64,
pub rel_type: String,
pub source_ord: u64,
pub target_ord: u64,
pub source_id: [u8; 16],
pub target_id: [u8; 16],
}Expand description
Durable header for a relationship.
Fields§
§relationship_id: [u8; 16]Stable public relationship id.
ordinal: u64Dense ordinal of the relationship.
rel_type: StringRelationship type.
source_ord: u64Ordinal of the source record.
target_ord: u64Ordinal of the target record.
source_id: [u8; 16]Public id of the source record.
target_id: [u8; 16]Public id of the target record.
Trait Implementations§
Source§impl Clone for RelationshipHeader
impl Clone for RelationshipHeader
Source§impl Debug for RelationshipHeader
impl Debug for RelationshipHeader
Source§impl<'de> Deserialize<'de> for RelationshipHeader
impl<'de> Deserialize<'de> for RelationshipHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RelationshipHeader
impl PartialEq for RelationshipHeader
Source§impl Serialize for RelationshipHeader
impl Serialize for RelationshipHeader
impl StructuralPartialEq for RelationshipHeader
Auto Trait Implementations§
impl Freeze for RelationshipHeader
impl RefUnwindSafe for RelationshipHeader
impl Send for RelationshipHeader
impl Sync for RelationshipHeader
impl Unpin for RelationshipHeader
impl UnsafeUnpin for RelationshipHeader
impl UnwindSafe for RelationshipHeader
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