pub struct DagDbIntakeRequest {Show 19 fields
pub tenant_id: String,
pub namespace: String,
pub idempotency_key: String,
pub source_type: SourceType,
pub source_hash: String,
pub payload_hash: String,
pub owner_did: String,
pub controller_did: String,
pub submitted_by_did: String,
pub consent_purpose: ConsentPurpose,
pub requested_action: String,
pub title_text: String,
pub summary_text: String,
pub payload_uri_hash: Option<String>,
pub parent_memory_ids: Option<Vec<String>>,
pub edge_types: Option<Vec<MemoryEdgeType>>,
pub access_policy_hash: Option<String>,
pub declared_rights_hash: Option<String>,
pub keyword_texts: Option<Vec<String>>,
}Expand description
Intake request.
Fields§
§tenant_id: String§namespace: String§idempotency_key: String§source_type: SourceType§source_hash: String§payload_hash: String§owner_did: String§controller_did: String§submitted_by_did: String§consent_purpose: ConsentPurpose§requested_action: String§title_text: String§summary_text: String§payload_uri_hash: Option<String>§parent_memory_ids: Option<Vec<String>>§edge_types: Option<Vec<MemoryEdgeType>>§access_policy_hash: Option<String>§declared_rights_hash: Option<String>§keyword_texts: Option<Vec<String>>Trait Implementations§
Source§impl Clone for DagDbIntakeRequest
impl Clone for DagDbIntakeRequest
Source§fn clone(&self) -> DagDbIntakeRequest
fn clone(&self) -> DagDbIntakeRequest
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 DagDbIntakeRequest
impl Debug for DagDbIntakeRequest
Source§impl<'de> Deserialize<'de> for DagDbIntakeRequest
impl<'de> Deserialize<'de> for DagDbIntakeRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbIntakeRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbIntakeRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbIntakeRequest
Source§impl PartialEq for DagDbIntakeRequest
impl PartialEq for DagDbIntakeRequest
Source§fn eq(&self, other: &DagDbIntakeRequest) -> bool
fn eq(&self, other: &DagDbIntakeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbIntakeRequest
impl Serialize for DagDbIntakeRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DagDbIntakeRequest
Auto Trait Implementations§
impl Freeze for DagDbIntakeRequest
impl RefUnwindSafe for DagDbIntakeRequest
impl Send for DagDbIntakeRequest
impl Sync for DagDbIntakeRequest
impl Unpin for DagDbIntakeRequest
impl UnsafeUnpin for DagDbIntakeRequest
impl UnwindSafe for DagDbIntakeRequest
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