pub struct AddKnowledgeParams<'a> {
pub id: &'a str,
pub title: &'a str,
pub content: &'a str,
pub provenance: &'a str,
pub claim_id: Option<&'a str>,
pub merge_key: Option<&'a str>,
pub conflict_policy: KnowledgeConflictPolicy,
pub status: &'a str,
pub ttl_policy: &'a str,
pub expires_ts: Option<&'a str>,
}Fieldsยง
ยงid: &'a strยงtitle: &'a strยงcontent: &'a strยงprovenance: &'a strยงclaim_id: Option<&'a str>ยงmerge_key: Option<&'a str>ยงconflict_policy: KnowledgeConflictPolicyยงstatus: &'a strยงttl_policy: &'a strยงexpires_ts: Option<&'a str>Trait Implementationsยง
Sourceยงimpl<'a> Clone for AddKnowledgeParams<'a>
impl<'a> Clone for AddKnowledgeParams<'a>
Sourceยงfn clone(&self) -> AddKnowledgeParams<'a>
fn clone(&self) -> AddKnowledgeParams<'a>
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementationsยง
impl<'a> Freeze for AddKnowledgeParams<'a>
impl<'a> RefUnwindSafe for AddKnowledgeParams<'a>
impl<'a> Send for AddKnowledgeParams<'a>
impl<'a> Sync for AddKnowledgeParams<'a>
impl<'a> Unpin for AddKnowledgeParams<'a>
impl<'a> UnsafeUnpin for AddKnowledgeParams<'a>
impl<'a> UnwindSafe for AddKnowledgeParams<'a>
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