pub struct RelationCreateRequest {
pub relation_type: String,
pub from_entity: WireUuid,
pub to_entity: WireUuid,
pub properties_blob: Vec<u8>,
pub evidence: EvidenceRefWire,
pub extractor_id: u32,
pub confidence: f32,
pub valid_from_unix_nanos: u64,
pub valid_to_unix_nanos: u64,
pub session_id: WireSessionId,
pub request_id: WireUuid,
pub act_as: Option<ActAs>,
}Expand description
RELATION_CREATE (0x0150).
Fields§
§relation_type: String§from_entity: WireUuid§to_entity: WireUuid§properties_blob: Vec<u8>§evidence: EvidenceRefWire§extractor_id: u32§confidence: f32§valid_from_unix_nanos: u64§valid_to_unix_nanos: u64§session_id: WireSessionIdConversation/run this relation belongs to; 0 = default session.
A grouping key, not an isolation boundary.
request_id: WireUuid§act_as: Option<ActAs>Effective identity this relation-create runs as. None (omitted on the
wire) means the op runs as the connection’s own key-bound identity.
Trait Implementations§
Source§impl Clone for RelationCreateRequest
impl Clone for RelationCreateRequest
Source§impl Debug for RelationCreateRequest
impl Debug for RelationCreateRequest
Source§impl<'de> Deserialize<'de> for RelationCreateRequest
impl<'de> Deserialize<'de> for RelationCreateRequest
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 RelationCreateRequest
impl PartialEq for RelationCreateRequest
Source§impl Serialize for RelationCreateRequest
impl Serialize for RelationCreateRequest
impl StructuralPartialEq for RelationCreateRequest
Auto Trait Implementations§
impl Freeze for RelationCreateRequest
impl RefUnwindSafe for RelationCreateRequest
impl Send for RelationCreateRequest
impl Sync for RelationCreateRequest
impl Unpin for RelationCreateRequest
impl UnsafeUnpin for RelationCreateRequest
impl UnwindSafe for RelationCreateRequest
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